Lost shell password: change user password from root

Posted by mechko on Super User See other posts from Super User or by mechko
Published on 2010-01-10T00:59:45Z Indexed on 2010/03/22 1:51 UTC
Read the original article Hit count: 752

Filed under:
|
|

Hi. I recently accidentally forgot my user password to my shell. I know the root password. How do I change the user password?

I figure it's something like

$su root
$passwd -[something] username

but I can't get it to work. Halp pls?

© Super User or respective owner

Related posts about bash

Related posts about root