Tuesday, May 18, 2010

LOST USER PASSWORD (linux)

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.

No comments:

Post a Comment