You would have to set up a chroot (Linux. NetBSD, OpenBSD, FreeBSD) or a jail (FreeBSD)
I want to restrcit the users on my server that login via SSH to their /home/ directory. How can I do this?
You would have to set up a chroot (Linux. NetBSD, OpenBSD, FreeBSD) or a jail (FreeBSD)
OK, I did a MAN on chroot. Not alot there. What will this command do? I just want my nosey SSHing users to saty in there lane.![]()
I also am interested in doing the same thing. Please someone explain the steps.
Ras
chroot means Change Root. So you can say that the root of a given user is his home directory. So he can't do cd ... Of course, since he doesn't have access to /bin, /usr/bin, etc., you must put a copy in his chroot jail.
Chrooting is not a command. But rather it's defining of an environment. This article will help you out how to do that in SSH ( or any other services for that matter ).What will this command do?
Chrooting for SSH
Chrooting Linux services
Bookmarks