[lug] sudo better than su (was: Using consoles)

Michael Deck deckm at cleansoft.com
Wed Sep 29 10:47:56 MDT 1999


I'm telnetting across my LAN which is inside a firewall. Telnet is disabled
from outside the firewall. The bit about logging is useful knowledge and
may make it worthwhile to use sudo su -

At 10:46 AM 9/29/99 -0600, you wrote:
>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
>
>
>_______________________________________________
>Web Page:  http://lug.boulder.co.us
>Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug


Michael Deck
Cleanroom Software Engineering, Inc.   



More information about the LUG mailing list