Operating System - HP-UX
1847826 Members
4803 Online
104021 Solutions
New Discussion

Re: chroot user's home directory

 
Carlos Munoz Lopez
Frequent Advisor

chroot user's home directory

Hi guys. I'm using sh shell and I want to restrict a user's home directory. I've read in different posts this can be done using chroot, but I can't find the procedure. I don't want to implement it for a secure shell or ftp, I just want it for a normal shell. If any of you know how to do this please tell me what to do. I don't want to use restricted shell (rsh) because the user can't access other directory created within his homedir (cd commando not permitted in restricted shell). I would like some help on this issue. Thanks a lot guys.
1 REPLY 1
Alessandro Pilati
Esteemed Contributor

Re: chroot user's home directory