lshell
restricts a user's shell environment to limited sets of commands
Install
- All systems
-
curl cmd.cat/lshell.sh
- Debian
-
apt-get install lshell
- Ubuntu
-
apt-get install lshell
- Fedora
-
dnf install lshell
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install lshell
- Raspbian
-
apt-get install lshell
- Dockerfile
- dockerfile.run/lshell
lshell
restricts a user's shell environment to limited sets of commands
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 restrictions, and more.