Rory Vieira wrote: > > Hi, > > I would like to setup ssh for a specific user. The biggest requirement > is that when he/she logs in, he should be limited to his/her home > directory only. Eg, they shouldn't be able to go up with cd or something. > Simply a deny on everything except their home folder... > > The trouble is that this should be for this user only (eg root should > have no such problem)... > > Thanks in advance for any help :)
Try chrootssh: http://chrootssh.sourceforge.net/ Been using it for years. Works great. All you have to do is set up the chroot environment for the user and then put a "." in the home dir path in /etc/passwd, such as: /home/./joe Other other, use FreeBSD jails. Jon Kibler -- Jon R. Kibler Chief Technical Officer A.S.E.T., Inc. Charleston, SC USA (843) 849-8214 ================================================== Filtered by: TRUSTEM.COM's Email Filtering Service http://www.trustem.com/ No Spam. No Viruses. Just Good Clean Email.
