From: David Desscan
Sent: Wednesday, August 02, 2006 10:10 AM
Sometimes we use remote access ssh and su
to perform important tasks and read logs.
Since we use the same admin username and
password, ....
sudo -- use sudo -- very easy to use sudo -- log in as normal user, do not
allow root login via ssh. then sudo to do the command you need, such as
"sudo less /var/log/messages"
We do the following when we MUST have a root shell (rarely):
"sudo su -"
--
Michael