OS | Status |
---|---|
Ubuntu 16.04 | |
Ubuntu 18.04 | |
CentOS 7.5 | |
Fedora 28 |
A quick and simple shell in C that is designed to be fast and efficient... This shell is in early stages of development...
To easily setup this amazing restricted shell... Follow the instructions found below:
First, you need to change to the only working directory right now, and then we can download the repository! You can accomplish such by running:
cd ~/ && git clone https://github.com/NerdOfCode/Restricted-Shell.git
Next, you can began the automated setup by running
cd Restricted-Shell/ && bash run.sh
And then just answer the questions to the automatic configuration!
There is no such mode as of now.
Please be aware that the below option is completely experimental and may not be working
If you're interested in using this shell full-time, simply edit the /etc/passwd
file and change to the following, by running:
sudo vipw
USERNAME_HERE:x:1004:1003:,,,:/home/USERNAME_HERE:/home/USER_HERE/Restricted-Shell/shell
After performing the above, make sure to first run run.sh
to customize your shell... Then feel free, to logout and back in, to see the changes!
Enjoy!!! Oh, and also if anyone is to come across any errors or suggestions, please feel free to send an email to [email protected]!
When installing this Restricted-Shell, make sure to be mindful of the permissions you place on this shell's files/directories...
As of right now, I recommend creating and using separate installations for each user... I realize this is a major inconvenience to most, it is the best way to ensure the upmost security of your system.
Good luck :)!
- First, and foremost... We will need to add real time keyboard input in order to allow users to review previous commands...
- Secondly, we need to add an enhanced multi-user mode!