script to log work done on Servers

Michael P. Brininstool mikepb at hoplite.org
Wed Aug 2 16:15:29 UTC 2006


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
 


 





More information about the fedora-list mailing list