yppasswd(1) CLIX yppasswd(1)
NAME
yppasswd - Changes a login password in a Network Information Service (NIS)
database
SYNOPSIS
yppasswd [name]
DESCRIPTION
The yppasswd command changes or installs a password associated with the
user name (the default name is the current user) in the Network
Information Service (NIS) database. The NIS password may be different
than the one on the local machine.
The yppasswd command prompts for the old NIS password and then for the new
one. The user must supply both. The user receives a verification prompt
for the new password. New passwords must have at least four characters if
they use a sufficiently-rich alphabet (uppercase, lowercase, and
nonalphabetic characters) or at least six characters if monocase (all
uppercase or all lowercase).
Only the name owner or superuser can change a password; in either case the
old password must be supplied.
CAUTIONS
The update protocol passes all information to the server in one Remote
Procedure Call without looking at it. Thus, if the old password is
entered incorrectly, notification is not sent until after the new password
has been entered.
EXAMPLES
1. To change the password for user smith in the NIS database, enter from
the superuser prompt:
yppasswd smith
2. To change the NIS database password for your own login, enter:
yppasswd
DIAGNOSTICS
Not in password file
The specified login name has no entry in the local /etc/passwd
file.
2/94 - Intergraph Corporation 1
yppasswd(1) CLIX yppasswd(1)
Permission denied
A login name was specified, but the executing user is not superuser
or is not the UID of the specified login.
Couldn't change passwd
The specified old NIS password was incorrect.
Network Information Service passwd changed on master
The password was successfully changed.
EXIT VALUES
The yppasswd command exits with a value of 0 if successful, or 1 if
unsuccessful.
RELATED INFORMATION
Commands: yppasswdd(8) passwd(1)
Files: ypfiles(4)
2 Intergraph Corporation - 2/94