LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   sudo password not same as root password - ubuntu 11.04. hence can't access partitions (https://www.linuxquestions.org/questions/linux-newbie-8/sudo-password-not-same-as-root-password-ubuntu-11-04-hence-cant-access-partitions-900904/)

daudiam 09-03-2011 11:00 AM

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
.

lydiaXr 09-03-2011 11:02 AM

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


All times are GMT -5. The time now is 04:20 AM.