LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 09-03-2011, 11:00 AM   #1
daudiam
Member
 
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 :
Code:
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, 11:02 AM   #2
lydiaXr
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:

http://www.debuntu.org/recover-root-...-mode-and-grub
 
  


Reply

Tags
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 07:14 PM
Sudo Password for Root, not Going? Novatian Fedora 12 11-10-2010 02:16 AM
[SOLVED] I'm a retard! lost root password, cant use sudo! (ubuntu 10.04) Westz Linux - Newbie 4 11-07-2010 05:37 AM
my sudo password is not the root password newbiesforever Linux - General 7 01-02-2010 09:59 PM
sudo - root password not working Valkyrie_of_valhalla Linux - Software 3 03-11-2007 01:01 PM


All times are GMT -5. The time now is 07:47 PM.

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