Skip to content
EntityQ838075· pop 20· linked from 98 articles

Also known as passwd command, passwd utility, /usr/bin/passwd, /bin/passwd

passwd is a command on Unix, Plan 9, Inferno, and most Unix-like operating systems used to change a user's password. The password entered by the user is run through a key derivation function to create a hashed version of the new password, which is saved. Only the hashed version is stored; the entered password is not saved for security reasons.

Key facts

Software.name
passwd
Software.screenshot
Passwd screenshot.png
Software.caption
passwd on Linux
Software.author
AT&T Bell Laboratories
Software.developer
Various open-source and commercial developers
Software.operating system
Unix, Unix-like, Plan 9, Inferno
Software.platform
Cross-platform
Software.genre
Command

via Wikipedia infobox

Wikidata facts

Image
Passwd screenshot.png
Sources (2)

via Wikidata · CC0

~11 min read

Article

6 sections
Contents
  • Password file
  • Shadow file
  • History
  • See also
  • References
  • External links

passwd is a command on Unix, Plan 9, Inferno, and most Unix-like operating systems used to change a user's password. The password entered by the user is run through a key derivation function to create a hashed version of the new password, which is saved. Only the hashed version is stored; the entered password is not saved for security reasons.

When the user logs on, the password entered by the user during the log on process is run through the same key derivation function and the resulting hashed version is compared with the saved version. If the hashes are identical, the entered password is considered to be correct, and the user is authenticated. In theory, it is possible for two different passwords to produce the same hash. However, cryptographic hash functions are designed in such a way that finding any password that produces the same hash is very difficult and practically infeasible, so if the produced hash matches the stored one, the user can be authenticated.

Connections

Categories