Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-03-2011, 12:00 PM   #1
Registered: Mar 2010
Posts: 68

Rep: Reputation: 15
sudo password not same as root password - ubuntu 11.04. hence can't access partitions

I am using Ubuntu 11.04 on a Dell 1510 laptop. Something happened and I was not able to install software using sudo or access my other partitions (that required a root password). Hence, I went into the recovery mode and edited the /etc/sudoers file adding the following :
username ALL=(ALL)ALL
Thereafter, sudo started working but I am still unable to access my partitions that require me to enter the root password. Also, I am unable to install any software through Ubuntu S/W Centre as it also requires the root password.

There is an Oracle account also that got created after I installed Oracle 10g, but I always use my own account that was created during installation to log in
Old 09-03-2011, 12:02 PM   #2
LQ Newbie
Registered: Jun 2011
Location: London
Distribution: FreeBSD, Ubuntu, Fedora
Posts: 15

Rep: Reputation: Disabled
Try booting into single user. This will bring you to a root prompt. Run 'passwd root' to reset the root password. (Recovery mode *may* do the same thing but I don't remember.)

Here are specific instructions for the method I am suggesting:


root password, sudo

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] sudo to Root without password egyas Linux - Security 3 01-26-2011 08:14 PM
Sudo Password for Root, not Going? Novatian Fedora 12 11-10-2010 03:16 AM
[SOLVED] I'm a retard! lost root password, cant use sudo! (ubuntu 10.04) Westz Linux - Newbie 4 11-07-2010 06:37 AM
my sudo password is not the root password newbiesforever Linux - General 7 01-02-2010 10:59 PM
sudo - root password not working Valkyrie_of_valhalla Linux - Software 3 03-11-2007 02:01 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration