[CentOS-docs] becoming root

Akemi Yagi amyagi at gmail.com
Fri Apr 18 19:14:04 UTC 2008


On Fri, Apr 18, 2008 at 12:09 PM, Manuel Wolfshant
<wolfy at nobugconsulting.ro> wrote:
> 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 :)

Well, I have that line all over the place (except it does not say wolfy) :-D

Akemi


More information about the CentOS-docs mailing list