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.
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']
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