I am setting up a server running Gentoo for Web, Mail, SMTP, IMAP, MySQL, and possibly DNS hosting. I will be hosting my own site, as well as a few domains for some friends. My plan is to give each Website a unique group, so that the site can have multiple members with permission to change it. What I would like to do, however, is create a sort of sub-root admin, someone with permission similar to that of the root user. In other words, the account would not have permission to run, say, init scripts, yet would be able to read/write/execute all the files/directories each group would set up.
I've thought about creating an account and putting it as a member of each new group, but then a member of that group could still adjust the chmod permissions to block the administrative user out.
Any suggestions? I've used Linux for a while, but have never had to deal with a situation quite like this. I just want to have admin access to the various sites, yet without being able to accidentally delete something important, as with root. Thanks for any info.
I've thought about creating an account and putting it as a member of each new group, but then a member of that group could still adjust the chmod permissions to block the administrative user out.
Any suggestions? I've used Linux for a while, but have never had to deal with a situation quite like this. I just want to have admin access to the various sites, yet without being able to accidentally delete something important, as with root. Thanks for any info.