Jan 122011
 

ln -fs /bin/bash /bin/rbash

echo /bin/rbash >> /etc/shells

chsh -s /bin/rbash user-with-limited-access

 Posted by at 02:11

  One Response to “Restricted bash”

  1. BTW, you need to do this only on legacy system like CentOS 5 (yes, CentOS 5 is too old), for modern systems like Ubuntu 10.10, rbash is part of bash package.

Sorry, the comment form is closed at this time.