|
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....).
useradd example -m -d /home/example -s /bin/rbash usermod -s /bin/rbash example passwd example
|