[OT] sudo, why not su?
Johann Spies
jspies at sun.ac.za
Mon Aug 8 13:08:19 UTC 2005
On Sun, Aug 07, 2005 at 11:18:14AM -0400, MrKnisely wrote:
> Perhaps it is important to remember that althoug you can do the same
> tasks with two commands, they are not meant to be replacements for one
> another. Per man:
>
> su - Change user ID or become super-user
>
> sudo - execute a command as another user
I use 'sudo su - ' regularly e.g. the sysadm-account on one of my
servers has no password. So to become sysadm I use "sudo su -
sysadm".
What I like about sudo is that all the actions are logged. When
somebody ssh in as root or su to root the actions are normally
nowhere logged.
Regards
Johann
--
Johann Spies Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch
"Ye lust, and have not; ye kill, and desire to have,
and cannot obtain; ye fight and war, yet ye have not,
because ye ask not." James 4:2
More information about the ubuntu-users
mailing list