LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   forgot my "SU" password (https://www.linuxquestions.org/questions/linux-newbie-8/forgot-my-su-password-752265/)

shariefbe 09-02-2009 10:30 PM

forgot my "SU" password
 
Hello friends,
I created root password. But when i type "su" and then password, but my result is below one

Code:

sharief@sharief-desktop:/$ su
Password:
su: Authentication failure
sharief@sharief-desktop:/$

Now i dont know how to retrieve the password or how to rest the password...Can anyone help me

speck 09-02-2009 10:50 PM

This is a pretty common question and there are a few options. Boot into single user mode and change it, boot from a live cd, and a more complex method involving editing /etc files. You can google search for "recover linux password" and you will see many step-by-step instructions for the various options.

shariefbe 09-03-2009 02:37 AM

Hi,
I found the way to reset the root password. Its simplest way

Code:

~$ sudo passwd
Its working fine. Thanks for all


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