summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vipw/vipw.8
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>1999-06-26 07:16:42 +0000
committersheldonh <sheldonh@FreeBSD.org>1999-06-26 07:16:42 +0000
commit038f23db196442159b06c81a4252f05555ac884e (patch)
treecfe5519e7f09f7afdb786829f44b15b699ca4581 /usr.sbin/vipw/vipw.8
parentf8e5afd1931bde320bcbf134be48213201848fa0 (diff)
downloadFreeBSD-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.811
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
OpenPOWER on IntegriCloud