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
434 stars 113 forks source link

failed to execute /usr/bin/lshell: Permission denied #212

Open falltodis opened 3 years ago

falltodis commented 3 years ago

key config :

allowed         : 'all' - ['su'] - ['scp']
path            : ['/var', '/usr']
home_path       : '/home/test'

Install info : The lshell installed by root user with source with permission -rwxr-xr-x 1 root root xxx /usr/bin/lshell

The test user has been changed default shell to lshell by command : chsh -s /usr/bin/lshell

Problems: When changed user to test , I got a message . ssh login display same tips su: failed to execute /usr/bin/lshell: Permission denied