summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorwosch <wosch@FreeBSD.org>1996-08-20 19:57:23 +0000
committerwosch <wosch@FreeBSD.org>1996-08-20 19:57:23 +0000
commit938f39425a29a53c4ffae0bc2f724b856b471c09 (patch)
tree6d70bc78c85ad58859883766d847dbbea68c2234 /usr.sbin
parentb3914374d5cea122869f10e8f42f85ad1cbf276e (diff)
downloadFreeBSD-src-938f39425a29a53c4ffae0bc2f724b856b471c09.zip
FreeBSD-src-938f39425a29a53c4ffae0bc2f724b856b471c09.tar.gz
run pwd_mkdb with new check option [-c] to verify correctness
of /etc/master.passwd
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/adduser/adduser.perl4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/adduser/adduser.perl b/usr.sbin/adduser/adduser.perl
index c336009..118589b 100644
--- a/usr.sbin/adduser/adduser.perl
+++ b/usr.sbin/adduser/adduser.perl
@@ -32,7 +32,7 @@
#
# Email: Wolfram Schneider <wosch@cs.tu-berlin.de>
#
-# $Id: adduser.perl,v 1.12 1996/08/13 21:50:51 wosch Exp $
+# $Id: adduser.perl,v 1.13 1996/08/14 19:06:04 wosch Exp $
#
# read variables
@@ -239,7 +239,7 @@ sub home_partition_valid {
# check for valid passwddb
sub passwd_check {
- system("$pwd_mkdb $etc_passwd");
+ system("$pwd_mkdb -c $etc_passwd");
die "\nInvalid $etc_passwd - cannot add any users!\n" if $?;
}
OpenPOWER on IntegriCloud