Re: No root password in Ubuntu 9.04 after updating

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Ryan Rix
Date:  
To: Main PLUG discussion list
Subject: Re: No root password in Ubuntu 9.04 after updating
On Tue 23 June 2009 7:58:27 am Clayton Stapleton wrote:
>
> $ sudo bash
> [sudo] password for clay:
> clay is not in the sudoers file. This incident will be reported.
>
> So how do I enter my name and password into "sudo" file with out a root
> password???
>


You have a borked install, it seems. You should ALWAYS be installed into that
file if you are the default user. i'd say use the command visudo, but since
you're not in sudo file, you can't xD

You can boot in recovery mode, mount the partition and add the following line 
to /etc/sudoers
clay        ALL=(ALL) 


which will give you full root access using sudo, under that account.



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss