Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

keylogin(1)

login(1)

passwd(1)

nispasswd(1)

getpwnam(3C)

getspnam(3C)

secure_rpc(3N)

nsswitch.conf(4)

yppasswd(1)

NAME

yppasswd − change your network password in the NIS database

SYNOPSIS

yppasswd [ username ]

AVAILABILITY

SUNWcsu

DESCRIPTION

yppasswd changes the network password associated with the user username in the Network Information Service (NIS) database.  If the user has done a keylogin(1), and a publickey/secretkey pair exists for the user in the NIS publickey.byname map, yppasswd also re-encrypts the secretkey with the new password.  The NIS password may be different from the local one on your own machine.  Use passwd(1) to change the password information on the local machine, and nispasswd(1) to change the password information stored in Network Information Service, Version 3 database ( NIS+ ). 

yppasswd prompts for the old NIS password, and then for the new one.  You must type in the old password correctly for the change to take effect.  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, 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 super-user may change a password; in either case you must prove you know the old password. 

The NIS password daemon, rpc.yppasswdd must be running on your NIS server in order for the new password to take effect. 

WARNINGS

Even after the user has successfully changed his or her password using this command, the subsequent login(1) using the new password will be successful only if the user’s password and shadow information is obtained from NIS, (see getpwnam(3C), getspnam(3C), and nsswitch.conf(4)). 

SEE ALSO

keylogin(1), login(1), passwd(1), nispasswd(1), getpwnam(3C), getspnam(3C), secure_rpc(3N), nsswitch.conf(4)

BUGS

The update protocol passes all the information to the server in one RPC call, without ever looking at it.  Thus if you type in your old password incorrectly, you will not be notified until after you have entered your new password. 

Sun Microsystems  —  Last change: 14 Sep 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026