[olug] To Sudo or Not to Sudo, That is the Question

Carl Lundstedt clundst at unlserve.unl.edu
Sat Nov 1 00:14:36 UTC 2008


In knoppix/ubuntu and the like:
sudo su -
passwd
done.

I run as root quite a lot.  That keeps my 'done as root' stuff in root's 
history.  I haven't hosed a system running as root, but I've come 
close.  As much stuff as I do with admin priv, I highly doubt adding 
'sudo' to every command would make me think about things for one iota 
longer than not.

Carl
> Used to run su all the time.  I switched to Ubuntu and pretty much hosed my
> system trying to enable su - I'd just switched and thought having to type
> sudo before every command was dumb.  A man page or google later...  sudo
> -i     ;)
>
> Jordan
>
> On Thu, Oct 30, 2008 at 6:46 PM, Will Langford <unfies at gmail.com> wrote:
>
>   
>> On Thu, Oct 30, 2008 at 6:04 PM, Dave Thacker <dthacker9 at cox.net> wrote:
>>
>>     
>>> I use sudo all the time.  At home, it saves me from accidentally blowing
>>> something away.   At work, it's a security measure.   I ask my users to
>>>       
>> use
>>     
>>> it, so I need to lead by example.
>>>
>>> Dave Thacker
>>>
>>>       
>> I did some more thinking about our model here at work.  Generally, I'm the
>> only person who would ever need root access, and generally nothing 'service
>> level' (our daemons and client code and data) need root access.  So, I tend
>> to quickly su to root, do whever, and exit back to user level permissions.
>>
>> I imagine sudo might make security audits easier... but... it's not
>> applicable for us as a company -- and for regular desktop / home usage -
>> the
>> standard 'do only system shit as root' still applies... meaning a root
>> prompt is rare.
>>
>> -Will
>> _______________________________________________
>> OLUG mailing list
>> OLUG at olug.org
>> https://lists.olug.org/mailman/listinfo/olug
>>
>>     
>
>
>
>   




More information about the OLUG mailing list