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
436 stars 112 forks source link

[bug] can't allow access to "/" #99

Closed ghantoos closed 9 years ago

ghantoos commented 9 years ago

hi ghantoos

i found your lshell few days ago and i think it's usefull for my issue. i need to set lshell for a user and gave him permission to some commands and access to all paths - /var/some/directory/some/files i set the path in config file global for examle like this: path : ['/'] - [' /var/some/directory/some/files']

but when users want to: cd / *\ forbidden path: /

can you help me please?

thanks a lot

ghantoos commented 9 years ago

This has been corrected. You can clone the latest repository in order to have this functionality working.

Cheers.