Home IT-Blog limit user rights - Jail Shell RBASH (Debian)
limit user rights - Jail Shell RBASH (Debian) PDF Print
Thursday, 12 November 2009 20:52

Another good way to limit the rights of a remote user in linux is to use rbash (restricted bash). Although there are ways to bypass the restrictions it is in my opinion a nice way to protect a user from himself (and my system from this user....).

rbash

example
useradd example -m -d /home/example -s /bin/rbash
usermod -s /bin/rbash example
passwd example
 

Add comment


Security code
Refresh