Advantages of 'sudo' Over 'su'?

Andrew Zbikowski andyzib at gmail.com
Fri Oct 1 17:00:08 UTC 2004


Sudo adds a log entry of the command(s) run (In /var/log/auth.log). If
you mess up, you can always go back and see what commands were run.

I used to support a couple Linux servers on a consulting type basis.
The on site folks had sudo access. I always told them if you need to
do something as root, use sudo so there is a log of what you did just
incase something goes wrong and you need me to fix it. And if I see
that the command you ran was sudo su -, I'm going to charge double.

Or something like that. 

-- 
Andrew S. Zbikowski | http://andy.zibnet.us
 A password is like your underwear; Change it
 frequently, don't share it with others, and
     don't ask to borrow someone else's.




More information about the ubuntu-users mailing list