SSHD - keeping users in their own directory
I am wondering how to retrict SHH users to their own directory. Let's say I have Fred and his directory is /var/www/htdocs/fred. He can ftp in and he can ssh in. Both start in his directory and he owns the directory but with SSH he can cd / and see system files. He can even open them up in an editor but he can't save the changes. I'd like it if he couldn't even see them. Thanks
|