yppasswd(1) | General Commands Manual | yppasswd(1) |
yppasswd, ypchfn, ypchsh - change your password in the NIS database
yppasswd [-f] [-l] [-p] [user]
ypchfn [user]
ypchsh [user]
In the old days, the standard passwd(1), chfn(1) and chsh(1) tools could not be used under Linux to change the users NIS password, shell and GECOS information. For changing the NIS information, they were replaced by their NIS counterparts, yppasswd, ypchfn and ypchsh.
Today, this versions are deprecated and should not be used any longer.
Using the command line switches, you can choose whether to update your password -p, your login shell -l, or your GECOS field -f, or a combination of them. yppasswd implies the -p option, if no other option is given. If you use the -f or -l option, you also need to add the -p flag. ypchfn implies the -f option, and ypchsh -l.
When invoked without the user argument, the account information for the invoking user will be updated, otherwise that of user will be updated. This option is only available to the super-user. If the yppasswdd daemon on the server supports it, you can give the root password of the server instead of the users [old] password.
All tools will first prompt the user for the current NIS password needed for authentication with the yppasswdd(8) daemon. Subsequently, the program prompts for the updated information:
Login shell [/bin/sh]: _
Name [Joe Doe]: Location [2nd floor, bldg 34]: Office Phone [12345]: Home Phone []:
chfn(1), chsh(1), finger(1), passwd(5), passwd(1), ypcat(1), yppasswdd(8), ypserv(8), ypwhich(1)
yppasswd is part of the yp-tools package, which was written by Thorsten Kukuk <kukuk@suse.de>.
June 2004 | YP Tools 2.9 |