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.
This commit is contained in:
parent
06da5a1a05
commit
f9d8d64f45
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151523
@ -92,6 +92,8 @@ The editor specified by the string
|
|||||||
.Ev EDITOR
|
.Ev EDITOR
|
||||||
will be invoked instead of the default editor
|
will be invoked instead of the default editor
|
||||||
.Xr vi 1 .
|
.Xr vi 1 .
|
||||||
|
This can be used to allow a script to non-interactively modify the
|
||||||
|
password file.
|
||||||
.It Ev PW_SCAN_BIG_IDS
|
.It Ev PW_SCAN_BIG_IDS
|
||||||
See
|
See
|
||||||
.Xr pwd_mkdb 8 .
|
.Xr pwd_mkdb 8 .
|
||||||
@ -108,3 +110,10 @@ The
|
|||||||
.Nm
|
.Nm
|
||||||
utility appeared in
|
utility appeared in
|
||||||
.Bx 4.0 .
|
.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.
|
||||||
|
Loading…
Reference in New Issue
Block a user