diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-02-18 22:56:22 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-02-18 22:56:22 +0000 |
commit | e8635340d8a01793614f858e63db0da3c72de8e4 (patch) | |
tree | 554e79fd6be9c3ddab26625c95aa06b6e3c4df5e /usr.sbin/pwd_mkdb/pwd_mkdb.8 | |
parent | 5c48e3a6fa073d17969273e87016c972cd6bf009 (diff) |
tidy up synopsis and options list; from Igor Sobrado
Diffstat (limited to 'usr.sbin/pwd_mkdb/pwd_mkdb.8')
-rw-r--r-- | usr.sbin/pwd_mkdb/pwd_mkdb.8 | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/usr.sbin/pwd_mkdb/pwd_mkdb.8 b/usr.sbin/pwd_mkdb/pwd_mkdb.8 index cab8c5a0ca4..df8c4ec8752 100644 --- a/usr.sbin/pwd_mkdb/pwd_mkdb.8 +++ b/usr.sbin/pwd_mkdb/pwd_mkdb.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pwd_mkdb.8,v 1.20 2006/08/27 19:28:13 ray Exp $ +.\" $OpenBSD: pwd_mkdb.8,v 1.21 2007/02/18 22:56:21 jmc Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -38,7 +38,7 @@ .Sh SYNOPSIS .Nm pwd_mkdb .Op Fl c -.Op Fl p | Fl s +.Op Fl p | s .Op Fl d Ar directory .Op Fl u Ar username .Ar file @@ -70,19 +70,6 @@ The options are as follows: .It Fl c Check if the password file is in the correct format. Do not change, add, or remove any files. -.It Fl p -Create a 6th Edition-style password file and install it into -.Pa /etc/passwd . -.It Fl s -Only update the secure version of the database. -This is most commonly used in conjunction with the -.Fl u -flag during a password change. -Because the insecure database doesn't contain the password there -is no reason to update it if the only change is in the password field. -Cannot be used in conjunction with the -.Fl p -flag. .It Fl d Ar directory Operate in a base directory other than the default of .Pa /etc . @@ -99,6 +86,19 @@ other than for instance in a .Xr chroot 8 jail. +.It Fl p +Create a 6th Edition-style password file and install it into +.Pa /etc/passwd . +.It Fl s +Only update the secure version of the database. +This is most commonly used in conjunction with the +.Fl u +flag during a password change. +Because the insecure database doesn't contain the password there +is no reason to update it if the only change is in the password field. +Cannot be used in conjunction with the +.Fl p +flag. .It Fl u Ar username Only update the record for the specified user. Utilities that operate on a single user can use this option to avoid the |