PASSWD(1) — USER COMMANDS
NAME
passwd − change login password
SYNOPSIS
passwd [ −f filename ] [ user-ID ]
DESCRIPTION
This command changes (or installs) a password associated with the user-ID (your own by default).
Passwd prompts for the old password and then for the new one. You must supply both, and the new password must be typed twice to forestall mistakes.
New passwords must be at least four characters long, if they use a sufficiently rich alphabet, or at least six characters long if in monocase.
Only the owner of the name or the super-user may change a password; the owner must prove he knows the old password.
OPTIONS
−f Treat file as the password file.
FILES
/etc/passwd
/etc/yp/passwd
SEE ALSO
login(1), passwd(5), crypt(3), yppasswd(1)
Robert Morris and Ken Thompson, UNIX Password Security
BUGS
Passwd will not change your password if your system uses the yp Yellow Pages name server. Refer to yppasswd(1) for more information.
Sun Release 2.0 — Last change: 1 February 1985