Setting Up a Restricted User Account
I have just downloaded and installed WinSCP on my work laptop, and am using it to connect to my Linux box at home (I'm still a Linux newbie though). This is great, as I can copy files to and from home, especially useful for files that are too big to e-mail.
I would also like to let colleagues (who already have WinSCP - they recommended it to me) connect, but I'm a little concerned.
I created a special user account, which contains nothing but files I want to share, but when I connect I notice that I can actually navigate up and access other directories (not those of other users, or various system stuff, but more than I want to give access to).
Is there any way I can restrict this user account so it only has access to it's own /home/user directory?
I've put everything I can think of into Google, but not come back with anything I can understand. Various things mention chroot, but i've not managed to find any examples I can follow (sorry, I am a newbie!)
Can anyone help?
|