|
@ -1,4 +1,4 @@ |
|
|
.\" $OpenBSD: pw_lock.3,v 1.19 2015/10/15 19:35:24 deraadt Exp $ |
|
|
|
|
|
|
|
|
.\" $OpenBSD: pw_lock.3,v 1.20 2016/08/14 14:57:16 tb Exp $ |
|
|
.\" |
|
|
.\" |
|
|
.\" Copyright (c) 1995 |
|
|
.\" Copyright (c) 1995 |
|
|
.\" The Regents of the University of California. All rights reserved. |
|
|
.\" The Regents of the University of California. All rights reserved. |
|
@ -31,7 +31,7 @@ |
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
|
.\" SUCH DAMAGE. |
|
|
.\" SUCH DAMAGE. |
|
|
.\" |
|
|
.\" |
|
|
.Dd $Mdocdate: October 15 2015 $ |
|
|
|
|
|
|
|
|
.Dd $Mdocdate: August 14 2016 $ |
|
|
.Dt PW_LOCK 3 |
|
|
.Dt PW_LOCK 3 |
|
|
.Os |
|
|
.Os |
|
|
.Sh NAME |
|
|
.Sh NAME |
|
@ -95,11 +95,13 @@ are specified by OR'ing the following values: |
|
|
only update the secure database file |
|
|
only update the secure database file |
|
|
.Pq Pa /etc/spwd.db . |
|
|
.Pq Pa /etc/spwd.db . |
|
|
.It Dv _PASSWORD_OMITV7 |
|
|
.It Dv _PASSWORD_OMITV7 |
|
|
do not update the Version 7 format password file |
|
|
|
|
|
|
|
|
do not update the legacy password file |
|
|
.Pq Pa /etc/passwd . |
|
|
.Pq Pa /etc/passwd . |
|
|
.El |
|
|
.El |
|
|
.Pp |
|
|
.Pp |
|
|
By default the secure, insecure and Version 7 format password databases |
|
|
|
|
|
|
|
|
By default the secure and insecure password databases and |
|
|
|
|
|
the legacy password file |
|
|
|
|
|
.Pa /etc/passwd |
|
|
are updated. |
|
|
are updated. |
|
|
You should finish writing to and close the file descriptor returned by |
|
|
You should finish writing to and close the file descriptor returned by |
|
|
.Fn pw_lock |
|
|
.Fn pw_lock |
|
@ -129,7 +131,7 @@ function returns \-1 if it is unable to complete properly. |
|
|
.It Pa /etc/master.passwd |
|
|
.It Pa /etc/master.passwd |
|
|
Current password file. |
|
|
Current password file. |
|
|
.It Pa /etc/passwd |
|
|
.It Pa /etc/passwd |
|
|
A Version 7 format password file. |
|
|
|
|
|
|
|
|
Legacy password file. |
|
|
.It Pa /etc/ptmp |
|
|
.It Pa /etc/ptmp |
|
|
Password lock file. |
|
|
Password lock file. |
|
|
.It Pa /etc/pwd.db |
|
|
.It Pa /etc/pwd.db |
|
|