version 1.12, 1999/07/04 11:53:51 |
version 1.13, 1999/08/21 19:34:40 |
|
|
.Nd add or change user database information |
.Nd add or change user database information |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm chpass |
.Nm chpass |
|
.Op Fl ly |
.Op Fl a Ar list |
.Op Fl a Ar list |
.Op Fl s Ar newshell |
.Op Fl s Ar newshell |
.Op Ar user |
.Op Ar user |
|
|
.Pp |
.Pp |
Only the information that the user is allowed to change is displayed. |
Only the information that the user is allowed to change is displayed. |
.Pp |
.Pp |
|
If YP in enabled change requests are first tried in the local database, |
|
and then in the YP database, if there was no entry to change locally. |
|
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Fl a Ar list |
.It Fl a Ar list |
|
|
.Pq Sq \&: |
.Pq Sq \&: |
separated list of all the |
separated list of all the |
user database fields, although they may be empty. |
user database fields, although they may be empty. |
|
In YP environments this operation is not supported, only local additions |
|
can be done and that requires use of the |
|
.Fl l |
|
flag. |
|
.It Fl l |
|
In environments where YP is enabled, always alter local information as |
|
opposed to information in YP. |
.It Fl s Ar newshell |
.It Fl s Ar newshell |
Attempts to change the user's shell to |
Attempts to change the user's shell to |
.Ar newshell . |
.Ar newshell . |
|
.It Fl y |
|
In environments where YP is enabled, always change the YP entry, even if this |
|
is a modification request and there is a local entry for the specified user. |
.El |
.El |
.Pp |
.Pp |
Possible display items are as follows: |
Possible display items are as follows: |