undo sudo

Jonathan Hirschman jonathan at hirschman.net
Wed May 21 18:04:22 UTC 2008


Pastor JW wrote:
> Is there some way to get rid of that useless sudo command and get root back?  
> This is making Ubuntu about as useless for the user as windoze.  Why is there 
> all this fear that a user might actually be able to use his own computer?   
> It  is called a "Personal Computer" and is becoming anything but, complete 
> with noisy bandwasting religious wars over how to better keep the power of 
> the computer away from its owner.  Reminds me of the buggy whip makers 
> arguments against the manufacturing of the automobile.  
>
>   
I apologize in advance if this comes off as pedantic. What you're asking 
for is directions on how to shoot yourself in the foot. You're undoing a 
major protection that running Linux offers. You may be better off 
running Windows, since you're looking for directions to make Linux more 
Windows-like.

If you do everything as root, you'll have a machine as compromised as a 
Windows box before too long, which is why most Windows boxes end up as 
"useless". I run Windows the same way as Linux - as an unprivileged user 
unless I need to do something that requires root. I strongly, strongly 
recommend that you DO NOT run as root unless absolutely required, nor 
will I be held responsible for you following my directions.

That being said, two commands to unprotect yourself:

sudo su
passwd

Just follow the prompts into the abyss ;) You'll still be able to use 
sudo, but now you'll be able to login directly as root (as will any 
evildoers should they guess your password). Again, I strongly recommend 
that you do not do this.

jh




More information about the ubuntu-users mailing list