youYou must enter the command passwd $user
passwd $user
where $user$user
is replaced with the account username that has lost the password. if
If you're just entering passwdpasswd
naked, aka with no arguments, then passwdpasswd
assumes that you're wanting to change the password of the currently logged in user. also
Also, make sure you're using su rootsu root
to start a root shell, running sudosudo
, or some such.