[lug] sudo better than su (was: Using consoles)
PC Drew
drewpc at colorado.edu
Wed Sep 29 10:46:05 MDT 1999
first of all...don't telnet, use ssh. Secondly, you should never ever ever
send your root password across the wire. If you want to login as root, use
"sudo su -". That will create a sudo "wrapper" around the "su -" command.
That way you'll be logged in as root, but still have all of the benefits of
sudo (i.e. logging!!). Also, you won't have to send your root password
across the wire.
PC Drew
-----Original Message-----
From: lug-admin at lug.boulder.co.us [mailto:lug-admin at lug.boulder.co.us]On
Behalf Of Michael Deck
Sent: Wednesday, September 29, 1999 10:36 AM
To: lug at lug.boulder.co.us
Subject: [lug] sudo better than su (was: Using consoles)
At 09:53 AM 9/29/99 -0600, PC Drew wrote:
>Secondly...why aren't you using sudo? It's mo' betta.
I'm a newbie so maybe I missed something, but why do you say this? In my
newbie-ness I seem to spend a lot of time logged in as root, mostly
cleaning up stuff that I hosed up doing something else, or tweaking my
firewalling scripts, or installing software, etc. I usually use "su"
because I'm actually telnetting in across my LAN (my Linux box is in a
closet) and because prefixing every command with "sudo" seems a pain. I use
sudo when it's one or two commands.
-Mike
Michael Deck
Cleanroom Software Engineering, Inc.
_______________________________________________
Web Page: http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
More information about the LUG
mailing list