Hi everyone
I've been running a linode for a while now, but is has been a simple single user system - Me
And now more users are going to be hosted on my linode, mostly just web and version control. But how do i manage that in a secure way for everyone so no one gets access to the wrong libraries.
I thought that one location for everything
/srv
was the most logical thing to do, makes it easier to backup.
For each company / friend i make a set of folders
Single user
/srv/friend1/www
/srv/friend1/svn
/srv/friend1/data
multiple users
/srv/company1/www
/srv/company1/svn
/srv/company1/data
/srv/company2/www
/srv/company2/svn
/srv/company2/data
/srv/friends2and3/www
/srv/friends2and3/svn
/srv/friend2and3/data
But how do i make groups and assign users to these groups, and then limit the user or group to their /srv location?
People are going to use scp to upload files and etc, and when i log in with my normal user today, i can go into any directory and copy files etc - I really don't want ppl to be able to access other ppls files. How do i secure them from eachother?
And is there anything else I've forgot thats crucial?
Hope someone can share some wisdom
