LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Resetting user password.....Debian (https://www.linuxquestions.org/questions/debian-26/resetting-user-password-debian-829320/)

Tony King 08-30-2010 09:22 AM

Resetting user password.....Debian
 
Hi There,

I have forgotten my user password....HOWEVER I remembered the root password and am able, (after much fumbling about)to get into the machine. Is there a way of resetting my password? It obviously will not let me do so on the password-reset-screen as it requires the old password....

Thanks!

Tony

crosstalk 08-30-2010 09:45 AM

Log in as root, and type:
Code:

passwd <user>
in a shell prompt. If you're logged in graphically, you can open up a terminal to do this.

Root can change passwords for anybody, being the superuser.

I hope this helps.


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