summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vipw
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2005-10-20 19:23:16 +0000
committerbrooks <brooks@FreeBSD.org>2005-10-20 19:23:16 +0000
commitbf4cb5aab0f39d9b5af892511cf500a571287bc5 (patch)
tree5c5b5a92eb34f25fcabc58d29742ff7a8d1b4fd3 /usr.sbin/vipw
parent6db27f35d6919db9dad1f47276bc708a54cae33f (diff)
downloadFreeBSD-src-bf4cb5aab0f39d9b5af892511cf500a571287bc5.zip
FreeBSD-src-bf4cb5aab0f39d9b5af892511cf500a571287bc5.tar.gz
Mention the possibility of non-interactive scripts for EDITOR and add a
BUGS section mentioning the requirement that such scripts run "sleep 1" or equivalent to work reliably.
Diffstat (limited to 'usr.sbin/vipw')
-rw-r--r--usr.sbin/vipw/vipw.89
1 files changed, 9 insertions, 0 deletions
diff --git a/usr.sbin/vipw/vipw.8 b/usr.sbin/vipw/vipw.8
index 19eafaf..2e06321 100644
--- a/usr.sbin/vipw/vipw.8
+++ b/usr.sbin/vipw/vipw.8
@@ -92,6 +92,8 @@ The editor specified by the string
.Ev EDITOR
will be invoked instead of the default editor
.Xr vi 1 .
+This can be used to allow a script to non-interactively modify the
+password file.
.It Ev PW_SCAN_BIG_IDS
See
.Xr pwd_mkdb 8 .
@@ -108,3 +110,10 @@ The
.Nm
utility appeared in
.Bx 4.0 .
+.Sh BUGS
+The mechanism for checking for password file modifications requires that
+.Ev EDITOR
+run for at least one second.
+Non-interactive editor scripts should invoke
+.Xr sleep 1
+or equivalent to insure this happens.
OpenPOWER on IntegriCloud