Skip to content

Charliedean/RestrictMyShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

RestrictMyShell

Restricted Shell Running on Python2.7

Getting Started

  1. git clone https://github.com/Charliedean/RestrictMyShell.git
  2. cd RestrictMyShell
  3. ./RestrictMyShell.py should create config file
  4. nano /etc/restrictmyshell and add whitelisted commands on newlines
  5. cp ./RestrictMyShell.py /bin/restrictmyshell
  6. chmod +x /bin/restrictmyshell
  7. nano /etc/passwd to enable restrictmyshell
  • Example: test:/home/test:/bin/restrictmyshell

Contributers:

  • Grant Willcox

About

Restricted Shell Running on Python2.7

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages