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
439 stars 111 forks source link

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

Closed falltodis closed 1 month 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

ghantoos commented 1 month ago

This project has been inactive for a while, and this issue has been open for a long time without activity. I'm closing it to keep the issue tracker clean.

If this issue is still relevant to you, please feel free to reopen it or create a new one. Appreciate your understanding and support!