diff options
author | sheldonh <sheldonh@FreeBSD.org> | 1999-06-26 07:16:42 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 1999-06-26 07:16:42 +0000 |
commit | 038f23db196442159b06c81a4252f05555ac884e (patch) | |
tree | cfe5519e7f09f7afdb786829f44b15b699ca4581 /usr.sbin/vipw/vipw.8 | |
parent | f8e5afd1931bde320bcbf134be48213201848fa0 (diff) | |
download | FreeBSD-src-038f23db196442159b06c81a4252f05555ac884e.zip FreeBSD-src-038f23db196442159b06c81a4252f05555ac884e.tar.gz |
Add -d option to vipw(8) to allow selection of an alternative directory
for the password files.
PR: 2703
Submitted by: jmg
Diffstat (limited to 'usr.sbin/vipw/vipw.8')
-rw-r--r-- | usr.sbin/vipw/vipw.8 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/usr.sbin/vipw/vipw.8 b/usr.sbin/vipw/vipw.8 index ca70b5e..fdb56d4 100644 --- a/usr.sbin/vipw/vipw.8 +++ b/usr.sbin/vipw/vipw.8 @@ -39,6 +39,7 @@ .Nd edit the password file .Sh SYNOPSIS .Nm vipw +.Op Fl d Ar directory .Sh DESCRIPTION .Nm Vipw edits the password file after setting the appropriate locks, @@ -51,6 +52,16 @@ to try again later. The default editor for is .Xr vi 1 . .Pp +When run without options, +.Nm vipw +will work with the password files in +.Pa /etc . +The +.Fl d +option may be used to specify an alternative +.Ar directory +to work with. +.Pp .Nm Vipw performs a number of consistency checks on the password entries, and will not allow a password file with a |