Using sudo with chmod and chown
Mike Brodbelt <m.brodbelt-ExSj+31/Nztaa/[email protected]>
| Newsgroups | gmane.linux.admin.managers |
|---|---|
| Message-ID | <[email protected]> |
Hi, I run several systems, and in an effort to stop admin people logging in as root too frequently, I have implemented sudo so junior admins can have the access they need to do their job without needing the root password (which makes me nervous). However, I'd like to be able to provide access to chmod and chown through sudo, but only for files within a certain directory tree. They need to be able to change ownership, but I obviously don't want them to be able to execute chown as root on any arbitrary file. It's not immediately obvious how to achieve this with sudo, and I was wondering if anyone has don anything similar, and what they've used to retain some security. Mike. _______________________________________________ LinuxManagers mailing list - http://www.linuxmanagers.org submissions: LinuxManagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected] subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers