PASSWD(1) — UNIX Programmer’s Manual
NAME
passwd − change login password
SYNOPSIS
passwd [ name ]
DESCRIPTION
This command changes (or installs) a password associated with the user name (your own name by default).
The program prompts for the old password and then for the new one. The caller must supply both. The new password must be typed twice, to forestall mistakes.
It is suggested that new passwords be at least four characters long if they use a sufficiently rich alphabet and at least six characters long if monocase.
Only the owner of the name or the super-user may change a password; the owner must prove he knows the old password.
EXAMPLE
passwd
responds "Changing password for <username>, then asks for your password (once) and for the new password (twice).
FILES
/etc/passwd
SEE ALSO
7th Edition — 1/22/82