root password?

Pete Clapham w.clapham at
Sun Feb 3 16:02:50 UTC 2008

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.  Since you've zapped your sudoers file, you 
probably can't do that.  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.


Peter Loron wrote:
> As far as I know, the root account is not enabled by default. Best bet 
> is to boot up in recovery mode, and edit sudoers.
> -Pete
> ----- Original Message -----
> From: "Knute Johnson" <knute at>
> To: ubuntu-users at
> Sent: Saturday, February 2, 2008 8:59:58 PM (GMT-0800) America/Los_Angeles
> Subject: root password?
> I installed 7.10 onto a USB jump drive and tried to create a new
> user.  In the process I did something bad to the sudoers file.  I
> can't edit it because I can't sudo.  I can't login as root because I
> don't know the password.  What's the password for root on the live
> CD?
> Thanks,
> -- 
> Knute Johnson
> Molon Labe...
> -- 
> ubuntu-users mailing list
> ubuntu-users at
> Modify settings or unsubscribe at: 

Pete Clapham
Department of Biological, Geological, and Environmental Sciences
Cleveland State University
Cleveland, Ohio, 44115

Voice:  [216] 687-4820
Fax:  [216] 687-6972
w.clapham at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ubuntu-users mailing list