diff options
author | Wolfram Schneider <wosch@FreeBSD.org> | 1996-08-20 19:57:23 +0000 |
---|---|---|
committer | Wolfram Schneider <wosch@FreeBSD.org> | 1996-08-20 19:57:23 +0000 |
commit | ca3458388c9b5a57d5138cd403e42259dcc0ceea (patch) | |
tree | 109828b317bac77d8e43f5cd77cec415e7406490 /adduser/adduser.perl | |
parent | 8b69f3fd357b46d2d2a51e4aaa11466f721004f8 (diff) | |
download | pw-darwin-ca3458388c9b5a57d5138cd403e42259dcc0ceea.tar.gz pw-darwin-ca3458388c9b5a57d5138cd403e42259dcc0ceea.tar.zst pw-darwin-ca3458388c9b5a57d5138cd403e42259dcc0ceea.zip |
run pwd_mkdb with new check option [-c] to verify correctness
of /etc/master.passwd
Diffstat (limited to 'adduser/adduser.perl')
-rw-r--r-- | adduser/adduser.perl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/adduser/adduser.perl b/adduser/adduser.perl index c336009..118589b 100644 --- a/adduser/adduser.perl +++ b/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 $?; } |