passwd(1)
_________________________________________________________________
passwd Command
change login password
_________________________________________________________________
SYNTAX
passwd [ -f filename ] [ uid ]
DESCRIPTION
This command changes (or installs) a password associated with the
uid (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.
The new password is checked to ensure that it meets construction
requirements. When the new password is entered a second time,
the two copies of the new password are compared. If the two
copies do not match, then the cycle of prompting for the new
password is repeated (at most) two more times.
Passwords must meet the following requirements:
1) Each password must have at least six characters. Only the
first eight characters are significant.
2) Each password must contain at least two alphabetic
characters and at least one numeric or special character.
In this case, "alphabetic" means upper and lowercase
letters.
3) Each password must differ from the login name and from any
reverse or circular shift of that name. For comparison
purposes, an uppercase letter and its corresponding
lowercase letter are equivalent.
4) New passwords must differ from the old by at least three
characters. For comparison purposes, an uppercase letter
and its corresponding lowercase letter are equivalent.
Anyone whose effective uid is zero is called a superuser; see
id(1) and su(1). Superusers may change any password, so passwd
does not prompt superusers for the old password. Superusers do
not have to comply with password construction requirements. A
superuser can create a null password by entering a carriage
return in response to the prompt for a new password.
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)
passwd(1)
OPTIONS
-f Treat file as the password file. By default, /etc/passwd is
used.
FILES
/etc/passwd
SEE ALSO
login(1), passwd(4), crypt(3), yppasswd(1)
Robert Morris and Ken Thompson, UNIX Password Security
WARNING
Passwd will not change your password if it is stored by the
Yellow Pages Service. Refer to yppasswd(1) for more information.
DG/UX 4.00 Page 2
Licensed material--property of copyright holder(s)