Skip to main content
added 11 characters in body
Source Link
slhck
  • 230.2k
  • 71
  • 621
  • 603

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.

you must enter the command passwd $user

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

You must enter the command

passwd $user

where $user is replaced with the account username that has lost the password.

If you're just entering passwd naked, with no arguments, then passwd assumes that you're wanting to change the password of the currently logged in user.

Also, make sure you're using su root to start a root shell, running sudo, or such.

Post Migrated Here from stackoverflow.com (revisions)
Source Link
user141092
user141092

you must enter the command passwd $user

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