26 June 2008

Linux : LOST USER PASSWORD

Now, just imagine, you have a sudden strike of growing old, and, you forgot your user password. I know it´s hard to figure, but weirder things happen !

The solution however is simple:

CODE
$ su
<>
# passwd bruno

( if that is your username, don´t use mine )

Type in a new password ( you will likely get an error message, ignore it )
Type in the same password again !

Log out as root and log in as user with your new password !
( I said is was easy ! )

Next time we will attack the forgotten ROOT password ! A bit more complicated but it sure can be done.

http://www.brunolinux.com/01-First_Things_To_Know/Lost_User_Password.html

No comments: