lshell is a shell coded in Python, that lets you restrict a user's environment to limited sets of commands, choose to enable/disable any command over SSH (e.g. SCP, SFTP, rsync, etc.), log user's commands, implement timing restriction, and more.
Questions tagged [lshell]
2 questions
2
votes
1 answer
Executing command using Plink does not work, but does in PuTTY
I am trying to create a PowerShell script to SSH into a Raspberry Pi and perform some commands. I am using Plink to SSH into the Pi over command line. However I have to SSH into the Pi user which runs in lshell. I can PuTTY into the Pi with zero…

Hunter
- 49
- 1
- 7
0
votes
1 answer
How do I prevent a user to exit using lshell?
I am using lshell in a linux environment.
I can create a session with this shell like
sudo -u dummy /usr/bin/lshell
but even if I add this line to the config file
forbidden : [';', '&', '|','`','>','<', '$(', '${', 'exit']
dummy is still…

Leo
- 6,480
- 4
- 37
- 52