I'm giving my friend a host on my dedicated server. I created a new user for him:
Adding user `friend' ... Adding new group `friend' (1000) ... Adding new user `friend' (1000) with group `friend' ... Creating home directory `/home/friend' ... Copying files from `/etc/skel' ...
Problem: He can go to my "/var/www/" directory which contains config files with passwords. And he can simply download my site, which I don't want him to do.
What I need: Set permission, so he can only go to his own directory. And not lurk in my folders.
I want him to only be able to go to /var/www/html/site.com
Anyone has any idea on how this can be done?
Thanks, I really appreciate the help I can get.