ghantoos / lshell

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.
GNU General Public License v3.0
435 stars 112 forks source link

[feature] add possibility to disable exit (Closes #156) #158

Closed ghantoos closed 7 years ago

ghantoos commented 7 years ago

Added disable_exit flag. If set to 1, it will disable user exit. This could be useful when lshell is spawned from another none-restricted shell (e.g. bash)