YPPASSWD(1) — Series 300 Only
NAME
yppasswd − change login password in Yellow Pages
SYNOPSIS
yppasswd [ name ]
DESCRIPTION
The yppasswd command changes or installs a password associated with the login name in the Yellow Pages (YP). The YP password may be different from the one on your own machine. If name is omitted, it defaults to the name returned by getlogin(3C).
The yppasswd command prompts for the old YP password (even if it does not exist) and then twice for the new one. The old password must be entered correctly for the change to take effect. Checks occur to ensure the new password meets the following construction requirements.
1. Only the first eight characters are significant.
2. A password can be as few as four characters long if it contains
A) at least one special character or
B) a mixture of numeric, upper-case and lower-case letters.
3. A password can be as few as five characters long if it contains a mixture of
A) upper-case and lower-case letters or
B) numeric and either upper-case or lower-case letters.
4. A password must contain at least six characters if it contains only monocase letters.
All these rules except the first are relaxed if you try three times to enter an unacceptable new password. You cannot, however, enter a null password.
Only the owner of the name or the super-user can change a password.
The Yellow Pages password daemon, yppasswdd(1M), must be running on the master YP passwd server to change YP passwords.
WARNINGS
The password update protocol passes the old and new passwords to the master YP server at once. Thus, if the old YP password is incorrect, no notification is given until the new YP password is successfully entered. The yppasswd password construction rules are different from those of passwd(1). Password aging, as described in passwd(1) and passwd(4), is not implemented in the Yellow Pages password database.
AUTHOR
Sun Microsystems, Inc.
SEE ALSO
id(1), passwd(1), su(1), yppasswdd(1M), getlogin(3C), yppasswdd(3N), ypfiles(4).
INTERNATIONAL SUPPORT
8-bit data, messages
Hewlett-Packard Company — May 11, 2021