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.
Currently, auto-complete feature only works inside the allowed paths. It would be convenient, if auto-complete also suggests the allowed paths themselves.
When a user of lshell types cd /var/log/<tab>, the shell should show nginx apt exim4 as the suggestions for auto-complete. If he types cd /var/<tab> - he receives log as the suggestion.
This should not break security, but adds convenience for users.
Currently, auto-complete feature only works inside the allowed paths. It would be convenient, if auto-complete also suggests the allowed paths themselves.
For example, using the following configuration:
When a user of lshell types
cd /var/log/<tab>
, the shell should shownginx apt exim4
as the suggestions for auto-complete. If he typescd /var/<tab>
- he receiveslog
as the suggestion.This should not break security, but adds convenience for users.