passwd

Change a user's password. More information: <https://manned.org/passwd>.

Install

All systems
curl cmd.cat/passwd.sh
Debian Debian
apt-get install passwd
Ubuntu
apt-get install passwd
Arch Arch Linux
pacman -S passwd
image/svg+xml Kali Linux
apt-get install passwd
CentOS
yum install passwd
Fedora
dnf install passwd
Windows (WSL2)
sudo apt-get update sudo apt-get install passwd
Raspbian
apt-get install passwd

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

© tl;dr; authors and contributors