obs wrote:
Quote:
Basically, I have a couple of domains and subdomains that I care about and I'm really the only person administering them. For security purposes, I want to setup an account I can SFTP and SSH from that is locked to my home folder.
Why if you're the only one administering it?
If you have a friend that wants access to a single site then give that site a user and use
http://library.linode.com/security/sftp-jails/ to lock that user to their home folder.
I understand that, but I'm still confused about where the site data should live. Let's say I have a site example.com that me and my friend jointly work on.
All the data lives in /srv/www/example.com (like my other sites). I add myself and my friend to a group that then "chowns" that folder, correct? However, I don't want my friend to be able to go poking around the file system so I lock him down to the home folder (SFTP jail). However, now he can't access the site unless I put a symlink?