I'd like a user who is capable of managing the files of other users, but still must run sudo to access those files and functions outside of a /home/directory. Is such a user/group already defined in the unix/centos infrastructures? If not, what's a good way to acheive this?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
SELinux will allow you to do this. Create a role that has access to all home files and then assign this role to a user of your choice. EDIT: IBM developerWorks: "Role-based access control in SELinux" RHEL 5 Deployment Guide: "Chapter 4. Security and SELinux" SELinux Mandatory Access Control: "SELinux Lockdown Part Six: Customized SELinux Roles" |
|||||
|
chmod -R g+rwx adminto all standard home directories and runningusermod -g admin deploy. – Chris Keele Jul 9 '12 at 21:07