diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2000-11-26 01:23:13 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2000-11-26 01:23:13 +0000 |
commit | 0d98d5f9deb6e5200048af8c83c4b985830080bb (patch) | |
tree | 25f30cf324eda60311f776c81940ea6a6f8d1d28 /usr.sbin/pwd_mkdb/pwd_mkdb.8 | |
parent | d232bac5d7d56b02046a15c8e07ba8c5795c5e78 (diff) |
Support -u username option. Loosely based on FreeBSD's changes.
I've also restructured things a bit to cut the number of master.passwd
parses in half from 6 to 3. We can't really get away with fewer than
that without sacrificing locality in the .db files.
Diffstat (limited to 'usr.sbin/pwd_mkdb/pwd_mkdb.8')
-rw-r--r-- | usr.sbin/pwd_mkdb/pwd_mkdb.8 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.sbin/pwd_mkdb/pwd_mkdb.8 b/usr.sbin/pwd_mkdb/pwd_mkdb.8 index ed4b0047bd5..22d5e88dc05 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.10 2000/11/09 17:53:21 aaron Exp $ +.\" $OpenBSD: pwd_mkdb.8,v 1.11 2000/11/26 01:23:12 millert Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -44,6 +44,7 @@ .Op Fl c .Op Fl p .Op Fl d Ar directory +.Op Fl u Ar username .Ar file .Sh DESCRIPTION .Nm @@ -73,6 +74,13 @@ Create a Version 7 style password file and install it into .It Fl d Ar directory Operate in a base directory other than the default of .Pa /etc . ++.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 +overhead of rebuilding the entire database. This option must +never be used if the line number of the user's record in +.Pa /etc/master.passwd +has changed. .It Ar file The absolute path to a file in .Ar master.passwd |