passwd
Passwd is a tool used to change a user's password. More information: https://manned.org/passwd.
-
Change the password of the current user interactively:
passwd
-
Change the password of a specific user:
passwd {{username}}
-
Get the current status of the user:
passwd -S
-
Make the password of the account blank (it will set the named account passwordless):
passwd -d
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.