passwd
Change a user's password. See also:
chpasswd. More information: https://manned.org/passwd.
- Change the password of the current user interactively:
passwd
- Change the password of a specific user:
sudo passwd
- Get the current status of the user:
passwd
- Make the password of the account blank (it will set the named account passwordless):
passwd
- Set password programmatically (ideal for install scripts):
yes | passwd
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
