I'm using Ubuntu server 12.04. If a user is only a member of it's own group why he can still do su SOME_OTHER_USER ? Can I prevent this?
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
|
If you don't want the a user can execute "su" you can set the owner of it to "root" and the chmod to 700. Than only root can execute it. If you want users of a special group to execute "su" you can set the group of it to - lets say - "wheel". And the chmod to 770. And put all users that have to execute "su" into the wheel group. |
|||
|
|
|
I found a solution that I like a lot:
|
|||
|
|
|
I can think of two obvious explanations:
|
|||
|
|