[sudo-users] Why is root in the sudoers file?

Nikolas Britton nikolas.britton at gmail.com
Sat Jun 26 08:07:38 EDT 2010


On Fri, Jun 25, 2010 at 9:35 PM, Justin Alcorn <justin at jalcorn.net> wrote:
> On Fri, Jun 25, 2010 at 9:06 PM, Mark Janssen <maniac.nl at gmail.com> wrote:
>
>> said, root is already root, and running sudo again won't cause much
>> harm (and will log whatever command was run).
>>
>
> That's the point.  Even if you "sudo su -" you should continue to run
> EVERY command with sudo - so you have an audit trail of what you did.
> It's just good sysadmin hygiene.
>

When you "sudo su -" at my work the shell profile is configured to
record all of the commands you run with your name attached to it.



More information about the sudo-users mailing list