Different accounts and sudo. (Was: Re: Root password???)

ZephyrQ zephyrq at earthlink.net
Sat Apr 8 13:47:45 UTC 2006


Yuki Cuss wrote:
> On Thu, 2006-04-06 at 20:25 -0500, ZephyrQ wrote:
>> 	This brings up a minor issue for me.
>>  <much snipping...>
>> 	This, IMHO, shouldn't happen this way.  Did I miss something about the 
>> whole 'sudo' thing?  It took me a week to figure it out when I first 
>> installed, so I prolly missed something...
> 
> It certainly should happen this way.
> 
> Sudo is not just a replacement name for su. It works in that you enter
> the password of the _logged on user_ and, if that user has been
> authorised, they will execute the command as root.
> 

> If not, simply entering your password won't work: it's expecting your
> daughters. In that case, you can change to your user, who is in
> `admin' (the first user created is in admin by default), with `su
> SOMEUSER,' and from there you can use sudo and enter your password again
> (yes, again).
> 
> Hope it helps,

	Thank you.  I made the wrong assumption that 'sudo' was a replacement 
for 'su root'.  In my one-track-old-linux-users mind (when did I become 
that, btw?) I was trying to throw out my knowledge of 'su' for the 
"ubuntu way"... ;->





More information about the ubuntu-users mailing list