Linux Tips - 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 !


TIPS:  
The solution however is simple:
CODE
$ su
< root-password >
# passwd pkb

( 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.

TIPS:  

No comments:

Post a Comment