How To Install Passwd In Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian?

How To Install Passwd In Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian?

passwd

Passwd is a tool used to change a user’s password.

Maintainer: Shadow package maintainers



Section: admin

Install passwd

  • Debian apt-get install passwd Click to copy
  • Ubuntu apt-get install passwd Click to copy
  • Arch Linux pacman -S passwd Click to copy
  • Kali Linux apt-get install passwd Click to copy
  • CentOS yum install passwd Click to copy
  • Fedora dnf install passwd Click to copy
  • Raspbian apt-get install passwd Click to copy

Passwd is a tool used to change a user's password.

How to use passwd?

Below are few example commands for passwd that you can use in the terminal.

Change the password of the current user:
passwd new_passwordClick to copy
Change the password of the specified user:
passwd username new_passwordClick to copy
Get the current status of the user:
passwd -SClick to copy
Make the password of the account blank (it will set the named account passwordless):
passwd -dClick to copy
Installation of latest passwd command is available for Debian, Ubuntu, Arch, Kali, CentOS, Fedora and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2024 latest package from the repository and install it in your computer/server.