Restricted Shell
Hi All,
Does any one know how to setup "restricted shell" on Redhat Linux 7.0 i want to restricted my telnet ssh users to their home directories they should n't navigate anywhere in the system or can't go out from their home direcotry i heard about rbash(Restricted Shell) but when i set rbash it totally disable cd command my user can't cd direcotires reside in their home directory i want to allow them in their home directoires i just want to block them others dirs and updirs. Regards, John Lee thristydesert@hotmail.com |
IIRC, this can't be done with rbash, it simply doesn't allow cd'ing at all, using pipes or setting vars. You could try chroot, but the major downside to that is youve gotta set up a complete environment for each and every user.
|
Ok But
Thanks unSpawn,
But could u tell me from where i can more learn about chroot() or could you tell how we can setup chroot Thanks and Regards, John Lee thristydesert@hotmail.com |
chroot is a standard unix command
man chroot |
All times are GMT -5. The time now is 06:12 AM. |