From 8d21f19e4ea884b8f28e4feb635e0e5617096a14 Mon Sep 17 00:00:00 2001 From: sheldonh Date: Thu, 2 Dec 1999 16:39:15 +0000 Subject: Replace the -q option to pwd_mkdb with a test for PW_SCAN_BIG_IDS in the environment. This allows big ID warnings to be suppressed for vipw and chpass as well. Since the environment variable test is only performed for callers of pw_scan() that do not set pw_big_ids_warning, the test can still be overriden. Currently, chpass and pwd_mkdb are the only users of pw_scan() and neither of them overrides the environment variable test. --- usr.sbin/vipw/vipw.8 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'usr.sbin/vipw') diff --git a/usr.sbin/vipw/vipw.8 b/usr.sbin/vipw/vipw.8 index f14720f..03bb4c0 100644 --- a/usr.sbin/vipw/vipw.8 +++ b/usr.sbin/vipw/vipw.8 @@ -85,12 +85,15 @@ and the new information is not available to programs. .Sh ENVIRONMENT If the following environment variable exists it will be utilized by .Nm Ns : -.Bl -tag -width EDITOR +.Bl -tag -width PW_SCAN_BIG_IDS .It Ev EDITOR The editor specified by the string .Ev EDITOR will be invoked instead of the default editor .Xr vi 1 . +.It Ev PW_SCAN_BIG_IDS +See +.Xr pwd_mkdb 8 . .El .Sh SEE ALSO .Xr chpass 1 , -- cgit v1.1