YPCHPASS(1) YPCHPASS(1)
ypchpass - change selected NIS passwd fields
ypchpass [-f fullname] [-h home] [-s shell] [name]
Ypchpass changes selected passwd(4) fields associated with the user name
(your own name by default) in the network information service (NIS)
passwd databases. The passwd fields that can be modified with ypchpass
may have different contents from those for the same user in the local
/etc/passwd file.
If invoked without options, ypchpass invokes the editor named by the
environment variable EDITOR, or vi(1) if EDITOR is null or unset, to edit
a template of selected passwd fields. After the user has edited this
template and changed or added appropriate field contents, ypchpass checks
the updated contents. If they are well-formed, it updates the NIS
databases. Otherwise it prompts the user to re-edit the template.
If invoked with options, ypchpass updates the NIS databases based on the
options' arguments and does not interactively acquire new field contents
using an editor.
-f fullname Change the user's real name field to contain fullname. A
useful convention, observed by finger(1), divides this
field into four comma-separated parts: the user's real
name, office, extension, and home phone.
-h home Change the initial working directory field to home.
-s shell Change the shell field to shell.
Only the owner of name may change its passwd fields.
Use yppasswd(1) to change a user's password.
Ypchpass only works with SGI NIS masters.
ypfiles(4), rpc.passwd(1M)
PPPPaaaaggggeeee 1111 [ Back ]
|