[BACK]Return to chpass.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / chpass

Diff for /src/usr.bin/chpass/chpass.1 between version 1.8 and 1.9

version 1.8, 1998/06/14 18:12:23 version 1.9, 1998/09/23 04:32:36
Line 44 
Line 44 
 .Nm chpass  .Nm chpass
 .Op Fl a Ar list  .Op Fl a Ar list
 .Op Fl s Ar newshell  .Op Fl s Ar newshell
 .Op user  .Op Ar user
 .Sh DESCRIPTION  .Sh DESCRIPTION
 .Nm Chpass  .Nm chpass
 allows editing of the user database information associated  allows editing of the user database information associated
 with  with
 .Ar user  .Ar user ,
 or, by default, the current user.  or, by default, the current user.
 The information is formatted and supplied to an editor for changes.  The information is formatted and supplied to an editor for changes.
 .Pp  .Pp
Line 62 
Line 62 
 entry, in the format specified by  entry, in the format specified by
 .Xr passwd 5 ,  .Xr passwd 5 ,
 as an argument.  as an argument.
 This argument must be a colon (``:'') separated list of all the  This argument must be a colon
   .Pq Sq \&:
   separated list of all the
 user database fields, although they may be empty.  user database fields, although they may be empty.
 .It Fl s Ar newshell  .It Fl s Ar newshell
 The  Attempts to change the user's shell to
 .Fl s  
 option attempts to change the user's shell to  
 .Ar newshell .  .Ar newshell .
 .El  .El
 .Pp  .Pp
Line 119 
Line 119 
 across a group of systems) as they control file access.  across a group of systems) as they control file access.
 .Pp  .Pp
 While it is possible to have multiple entries with identical login names  While it is possible to have multiple entries with identical login names
 and/or identical user id's, it is usually a mistake to do so.  Routines  and/or identical user IDs, it is usually a mistake to do so.  Routines
 that manipulate these files will often return only one of the multiple  that manipulate these files will often return only one of the multiple
 entries, and that one by random selection.  entries, and that one by random selection.
 .Pp  .Pp
Line 127 
Line 127 
 .Ar group  .Ar group
 field is the group that the user will be placed in at login.  field is the group that the user will be placed in at login.
 Since BSD supports multiple groups (see  Since BSD supports multiple groups (see
 .Xr groups 1 )  .Xr groups 1 ),
 this field currently has little special meaning.  this field currently has little special meaning.
 This field may be filled in with either a number or a group name (see  This field may be filled in with either a number or a group name (see
 .Xr group 5 ) .  .Xr group 5 ) .
Line 169 
Line 169 
 field is the command interpreter the user prefers.  field is the command interpreter the user prefers.
 If the  If the
 .Ar shell  .Ar shell
 field is empty, the Bourne shell,  field is empty, the Bourne shell
 .Pa /bin/sh ,  .Pq Pa /bin/sh
 is assumed.  is assumed.
 When altering a login shell, and not the super-user, the user  When altering a login shell, and not the super-user, the user
 may not change from a non-standard shell or to a non-standard  may not change from a non-standard shell or to a non-standard
Line 203 
Line 203 
 Only the user, or the super-user, may edit the information associated  Only the user, or the super-user, may edit the information associated
 with the user.  with the user.
 .Sh FILES  .Sh FILES
 .Bl -tag -width /etc/master.passwd -compact  .Bl -tag -width /var/tmp/pw.XXXXXXXX -compact
 .It Pa /etc/master.passwd  .It Pa /etc/master.passwd
 The user database  user database
 .It Pa /etc/passwd  .It Pa /etc/passwd
 A Version 7 format password file  a Version 7 format password file
 .It Pa /etc/ptmp  .It Pa /etc/ptmp
 Lock file for the passwd database  lock file for the passwd database
 .It Pa /var/tmp/pw.XXXXXXXX  .It Pa /var/tmp/pw.XXXXXXXX
 Temporary copy of the user passwd information  temporary copy of the user passwd information
 .It Pa /etc/shells  .It Pa /etc/shells
 The list of approved shells  list of approved shells
 .El  .El
 .Sh SEE ALSO  .Sh SEE ALSO
 .Xr login 1 ,  .Xr login 1 ,

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9