[CentOS-docs] becoming root

Manuel Wolfshant wolfy at nobugconsulting.ro
Fri Apr 18 19:09:09 UTC 2008


On 04/18/2008 09:27 PM, Akemi Yagi wrote:
> Looking good to me.  One thing that may be worth mentioning is that
> all sudo commands are logged in /var/log/secure.  In the above
> example, it will look like:
>
> Apr 18 11:23:17 localhost sudo: bob  : TTY=pts/0 ; PWD=/home/bob ;
> USER=root ; COMMAND=/bin/ping -c 10 -i 0 localhost
>
> I think this is a nice feature.  Commands executed by real root are
> not logged except in root's .history file, if I'm not mistaken.
>   
you are not mistaken :)

should I mention that my /etc/sudoers ends for quite sometime with:
    wolfy   ALL=(ALL) NOPASSWD: ALL
? neah, guess not :)


More information about the CentOS-docs mailing list