RestrictMyShell
Restricted Shell Running on Python2.7
Install / Use
/learn @Charliedean/RestrictMyShellREADME
RestrictMyShell
Restricted Shell Running on Python2.7
Getting Started
git clone https://github.com/Charliedean/RestrictMyShell.gitcd RestrictMyShell./RestrictMyShell.pyshould create config filenano /etc/restrictmyshelland add whitelisted commands on newlinescp ./RestrictMyShell.py /bin/restrictmyshellchmod +x /bin/restrictmyshellnano /etc/passwdto enable restrictmyshell
- Example: test:/home/test:/bin/restrictmyshell
Contributers:
- Grant Willcox
