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

Diff for /src/usr.bin/passwd/passwd.1 between version 1.6 and 1.7

version 1.6, 1998/01/20 19:51:58 version 1.7, 1998/09/27 16:57:49
Line 50 
Line 50 
 .Op Ar user  .Op Ar user
 .\" This should really be: passwd [-l] [-y] [-k [-n name] [-i instance] [-r realm] [-u username[.instance][@realm]]] [user]  .\" This should really be: passwd [-l] [-y] [-k [-n name] [-i instance] [-r realm] [-u username[.instance][@realm]]] [user]
 .Sh DESCRIPTION  .Sh DESCRIPTION
 .Nm Passwd  .Nm passwd
 changes the user's local, Kerberos, or YP password.  First, the user is prompted  changes the user's local, Kerberos, or YP password.  First, the user is prompted
 for their current password.  for their current password.
 If the current password is correctly typed, a new password is  If the current password is correctly typed, a new password is
Line 62 
Line 62 
 Its total length must be less than  Its total length must be less than
 .Dv _PASSWORD_LEN  .Dv _PASSWORD_LEN
 (currently 128 characters).  (currently 128 characters).
 Numbers, upper case letters and meta characters  Numbers, upper case letters and meta-characters
 are encouraged.  are encouraged.
 .Bl -tag -width flag  .Bl -tag -width flag
 .It Fl l  .It Fl l
 This option causes the password to be updated only in the local  Causes the password to be updated only in the local
 password file.  When changing only the local password,  password file.  When changing only the local password,
 .Xr pwd_mkdb  8  .Xr pwd_mkdb  8
 is used to update the password databases.  is used to update the password databases.
 .It Fl y  .It Fl y
 This forces the YP password database entry to be changed, even if  Forces the YP password database entry to be changed, even if
 the user has an entry in the local database.  The  the user has an entry in the local database.  The
 .Xr rpc.yppasswdd 8  .Xr rpc.yppasswdd 8
 daemon should be running on the YP master server.  daemon should be running on the YP master server.
 .It Fl k  .It Fl k
 This option forces the change to affect the Kerberos database, even  Forces the change to affect the Kerberos database, even
 if the user has a password in the local database.  if the user has a password in the local database.
 Once the password has been verified,  Once the password has been verified,
 .Nm passwd  .Nm passwd
Line 86 
Line 86 
 .Pp  .Pp
 The following flags are only used when the  The following flags are only used when the
 .Fl k  .Fl k
 flag is specified.  flag is specified:
 .Bl -tag -width flag  .Bl -tag -width flag
 .It Fl n  .It Fl n Ar name
 This option lets you specify a  Specifies a
 .Nm name  .Ar name
 that will be used as the principal name rather  than  the  username  that will be used as the principal name rather  than  the  username
 of the user running  of the user running
 .Nm passwd.  .Nm passwd .
 (This is determined from the ticket file  if  it exists;  otherwise,  (This is determined from the ticket file  if  it exists;  otherwise,
 it is determined from the unix user id.)  it is determined from the Unix user ID.)
 .It Fl i  .It Fl i Ar instance
 This option lets you specify an  Specifies an
 .Nm instance  .Ar instance
 to use rather than a null instance.  to use rather than a null instance.
 .It Fl r  .It Fl r Ar realm
 This option lets you use  Specifies a
 .Nm realm  .Ar realm
 instead of the local realm.  instead of the local realm.
 .It Fl u  .It Fl u Ar username[.instance][@realm]
 This option lets you specify a fully qualified kerberos principal.  Specifies a fully qualified kerberos principal.
 .El  .El
 .Pp  .Pp
 This is the behavior if no flags are specified:  This is the behavior if no flags are specified:
 if Kerberos is active then  if Kerberos is active then
 .Nm passwd  .Nm passwd
 will talk to the Kerberos server (even if the user has an entry  will talk to the Kerberos server (even if the user has an entry
 in the local database.)  in the local database).
 If the password is not in the local password database, then  If the password is not in the local password database, then
 an attempt is made to use the YP database.  an attempt is made to use the YP database.
 .Pp  .Pp
Line 131 
Line 131 
 .Sh FILES  .Sh FILES
 .Bl -tag -width /etc/master.passwd -compact  .Bl -tag -width /etc/master.passwd -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/passwd.XXXXXX  .It Pa /etc/passwd.XXXXXX
 Temporary copy of the password file  temporary copy of the password file
 .It /etc/passwd.conf  .It /etc/passwd.conf
 Configuration options  configuration options
 .El  .El
 .Sh SEE ALSO  .Sh SEE ALSO
 .Xr chpass 1 ,  .Xr chpass 1 ,

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7