RE: script to log work done on Servers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
 


 



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux