version 1.7, 1998/09/27 16:57:49 |
version 1.8, 1999/06/05 01:21:36 |
|
|
.\" |
.\" |
.Dd July 24, 1991 |
.Dd July 24, 1991 |
.Dt PASSWD 1 |
.Dt PASSWD 1 |
.Os BSD 4 |
.Os |
.Sh NAME |
.Sh NAME |
.Nm passwd |
.Nm passwd |
.Nd modify a user's password |
.Nd modify a user's password |
|
|
the Kerberos authenticating host. |
the Kerberos authenticating host. |
.El |
.El |
.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 Ar name |
.It Fl n Ar name |
Specifies a |
Specifies a |
.Ar 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 Ar instance |
.It Fl i Ar instance |
Specifies an |
Specifies an |
.Ar instance |
.Ar instance |
to use rather than a null instance. |
to use rather than a null instance. |
.It Fl r Ar realm |
.It Fl r Ar realm |
Specifies a |
Specifies a |
|
|
.Pp |
.Pp |
Which type of cipher is used to encrypt the password information |
Which type of cipher is used to encrypt the password information |
depends on the configuration in |
depends on the configuration in |
.Xr passwd.conf 5 . |
.Xr passwd.conf 5 . |
It can be different for local and YP passwords. |
It can be different for local and YP passwords. |
.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 |
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 |