Then those scripts should be refactored.  And in a pinch, you can get
a root shell without having to set a root password.

Yes, you can set a root password, but it's not recommended, neither in
Ubuntu nor OS X nor any other OS that uses sudo.  Does that make
becoming root a bit of a pain?  Yes, it does.  But that's the point.
Whenever you are root you have the potential to really foul things up.
 There needs to be some kind of interlock or barrier to entering the
root state, if for no other reason than to let you know that Here Be
Dragons.  And something that ensures that your time in that root state
is brief.  That's what sudo does.

Regards,
- Robert

On Thu, Nov 20, 2008 at 2:10 PM, David Wade Hagar <[EMAIL PROTECTED]> wrote:
> Some script commands don't like being run in sudo, not sure why, but I
> have at least 5 times on scripts (I don't remember them off the top of
> my head).
>
> To gain "real root" access is simple, you have to set a root password:
> sudo passwd
>
> Then set your root password.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [EMAIL PROTECTED]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
-~----------~----~----~----~------~----~------~--~---

Reply via email to