How to set user's root directory in SSH?
I created the user for ssh access.
I want this user to only be accessed to his/her home directory. I did set /etc/passwd like: ftp_user:x:111:111::/home/user/public_html/./:/bin/bash But no luck. Any advise? Thanks, |
you'll want to use a chroot jail to only let them see their own directory. check the manpage and howto's for chroot.
|
And try here: http://chrootssh.sourceforge.net/index.php
Enjoy! --- Cerbere [edit] And Welcome to LQ.org! [/edit] |
All times are GMT -5. The time now is 09:07 AM. |