Change NIS+ password information.
| -a |
Show the password attributes for all entries. This will show only the entries in the NIS+ passwd table in the local domain that the invoker is authorized to "read". |
| -g |
Change the gecos (finger) information. |
| -h |
Change the home directory. |
| -s |
Change the login shell. By default, only the
NIS+ administrator can change the login shell. User
will be prompted for the new login shell. |
| -l |
Locks the password entry for username.
Subsequently, login would disallow logins with this
NIS+ password entry. |
| -f |
Force the user to change password at the
next login by expiring the password for username. |
| -n min |
Set minimum field for username. The min field contains the minimum number of days between
password changes for username. If min is greater than max, the user may not change the password. Always use this option with the -x option, unless max is set to -1 (aging turned off). In that case, min need not be set. |
| -x max |
Set maximum field for username. The max field contains the number of days that the password is valid for username. The aging for username will be turned off immediately if max is set to -1. If it is set to 0, then the user is forced to
change the password at the next login session and aging is turned off. |
| -w warn |
Set warn field for username. The warn field
contains the number of days before the password expires that the user will be warned whenever he or she attempts to login. |
| -D domainname |
Consult the passwd.org_dir table in domainname . If this option is not specified, the default
domainname returned by nis_local_directory() will be used. This domainname is the same as that returned by
domainname. |
| -d username |
Display password attributes for the caller or the user specified if the invoker has the right
privileges. |
| username |
User who's information is needed |