Restrict users to their home dir only

3 posts / 0 new
Last post
#1 Fri, 05/02/2008 - 20:35
glynford

Restrict users to their home dir only

Is it possible to restrict users from accessing files and directories outside their home dir /home/user in ssh? Thanks.

Fri, 05/02/2008 - 20:58
Joe
Joe's picture

This has been discussed several times here in the forums:

http://www.virtualmin.com/forums/virtualmin/ssh-access.html

http://www.virtualmin.com/forums/virtualmin/sftp-login.html

Search the forums for "ssh chroot" and you'll find lots and lots and lots of discussion.

Basically, the answer is: You don't want it, even if you think you do. And, you don't need it.

--

Check out the forum guidelines!

Fri, 05/02/2008 - 21:03 (Reply to #2)
glynford

Thanks for the quick reply Joe and sorry if I asked the same question. Kindly delete this post if necessary. Thanks again for the hint.

Topic locked