root password?

Peter Garrett peter.garrett at optusnet.com.au
Sun Feb 3 16:29:23 UTC 2008


On Sun, 03 Feb 2008 11:02:50 -0500
Pete Clapham <w.clapham at csuohio.edu> wrote:

> The root account /is/ enabled, but it isn't given a password, so you 
> can't access it directly.  What you have to do is to sudo passwd root 
> and enter a password.  

Or just do

sudo -i

> Since you've zapped your sudoers file, you 
> probably can't do that. 

Yes he can. If you boot in "recovery" mode you get a root prompt... see my
other post.

> Personally, I much prefer to do a su and know 
> I'm a superuser than to depend on sudo for everything.  But that's my 
> preference; evidently most Ubuntu users have a different preference.

	<captain obvious tag>
Either way is fine, except that if you give yourself a root password, the
trick above won't give you a root prompt by default, so you'd better make
sure you remember your root password :) 
	</captain obvious tag>


-- 
"INX Is Not X" Live CD based on Ubuntu 7.04 : http://inx.maincontent.net
Screenshots slideshow: http://inx.maincontent.net/album/1.png.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080204/cb2d939c/attachment.sig>


More information about the ubuntu-users mailing list