change login password in Network Information Service
yppasswd [ name ]
yppasswd changes (or installs) a password
associated with the user name (your own name by
default) in the Network Information Service (NIS). The
NIS password may be different from the one
on your own machine.
yppasswd prompts for the old NIS
password and then for the new one. The caller must
supply both. The new password must be typed twice to
New passwords must be at least four characters long if they
use a sufficiently rich alphabet (that is, a combination of
lower- and uppercase letters and symbols) and at least six
characters long if monocase. These rules are relaxed if
you are insistent enough.
Only the owner of the name or the superuser may change a
password; in either case, you must prove you know the old
password by entering it.
The following error
message indicates the existence of the file /etc/ptmp:
The file /etc/ptmp is a lock file which indicates a
previous invocation of
yppasswd. This file can be removed to ``unlock'' the password file.
yppasswd: password file busy - try again
yppasswd prints error messages to the terminal.
If the /usr/adm/nislog file exists, yppasswd
also logs the error messages there.
Error messages are displayed in numeric form. If the server is an
SCO OpenServer system, the numeric values have the following meaning:
The /etc/passwd file on the server does not exist or is unreadable.
The name was not in the server's /etc/passwd file.
The old password given does not match the password in the
server's /etc/passwd file.
The server was unable to create a temporary password file.
The sever was unable to create a new password file.
name was not in the server's protected password database.
The server was unable to update its protected password database.
The update protocol passes all the information to the
server in one RPC call without looking at it.
Thus, if you type in your old password incorrectly, you
will not be notified until after you have entered your new
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003