diff options
author | gpalmer <gpalmer@FreeBSD.org> | 1994-09-07 22:54:00 +0000 |
---|---|---|
committer | gpalmer <gpalmer@FreeBSD.org> | 1994-09-07 22:54:00 +0000 |
commit | 84234df44f5737360c24b072eafcf2606f3d77cd (patch) | |
tree | 3cce4732708baff56430bf066c9e469a47f65121 /usr.sbin/pwd_mkdb/pwd_mkdb.8 | |
parent | 9baa6a9d3fde056bbc58129bf40860b28a23f68a (diff) | |
download | FreeBSD-src-84234df44f5737360c24b072eafcf2606f3d77cd.zip FreeBSD-src-84234df44f5737360c24b072eafcf2606f3d77cd.tar.gz |
Added the -d <directory> functionality to allow construction of the
password databases somewhere other than /etc.
Diffstat (limited to 'usr.sbin/pwd_mkdb/pwd_mkdb.8')
-rw-r--r-- | usr.sbin/pwd_mkdb/pwd_mkdb.8 | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/usr.sbin/pwd_mkdb/pwd_mkdb.8 b/usr.sbin/pwd_mkdb/pwd_mkdb.8 index 01bc1c2..6a55fcb 100644 --- a/usr.sbin/pwd_mkdb/pwd_mkdb.8 +++ b/usr.sbin/pwd_mkdb/pwd_mkdb.8 @@ -40,6 +40,7 @@ .Sh SYNOPSIS .Nm pwd_mkdb .Op Fl p +.Op Fl d Ar directory .Ar file .Sh DESCRIPTION .Nm Pwd_mkdb @@ -63,6 +64,9 @@ The options are as follows: .It Fl p Create a Version 7 style password file and install it into .Dq Pa /etc/passwd . +.It Fl d +Store databases into specified destination directory instead of +.Dq Pa /etc . .El .Pp The two databases differ in that the secure version contains the user's @@ -75,13 +79,13 @@ The databases are used by the C library password routines (see exits zero on success, non-zero on failure. .Sh FILES .Bl -tag -width Pa -compact -.It Pa /var/db/pwd.db +.It Pa /etc/pwd.db The insecure password database file. -.It Pa /var/db/pwd.db.tmp +.It Pa /etc/pwd.db.tmp A temporary file. -.It Pa /var/db/spwd.db +.It Pa /etc/spwd.db The secure password database file. -.It Pa /var/db/spwd.db.tmp +.It Pa /etc/spwd.db.tmp A temporary file. .It Pa /etc/master.passwd The current password file. |