[CentOS] sudo

Tue Feb 26 05:24:32 UTC 2008
John R Pierce <pierce at hogranch.com>

Centos wrote:
> Hello
>
> unfortunately other users can change to my user name with sudo,
> how I can prevent it ? is there a command to prevent to change to only 
> my user name ?

if you allow users open access to sudo, they can do anything that root 
can, which is just about anything.

the alternative is to allow only very restrictive use of sudo, running 
very specific commands as specific users only.   this is all controlled 
via /etc/sudoers, see the man pages.