How to make a non-root user to use chown for any user group files?

Posted by user1877716 on Super User See other posts from Super User or by user1877716
Published on 2012-12-05T03:11:07Z Indexed on 2012/12/05 5:10 UTC
Read the original article Hit count: 194

Filed under:
|
|

I would like to make a user super powerful, with almost all root rights but unable to touch a the root user (to change the password of the root).

My goal is to user "B" to manage my web server. The problem is user B need to able to run the chown and chmod commands on some files belonging to other users.

I tried to put B in root group or use visudo, but it's not enough.

I'm working an Centos 6 system.

If some body have ideas!

© Super User or respective owner

Related posts about linux

Related posts about permissions