From 938f39425a29a53c4ffae0bc2f724b856b471c09 Mon Sep 17 00:00:00 2001 From: wosch Date: Tue, 20 Aug 1996 19:57:23 +0000 Subject: run pwd_mkdb with new check option [-c] to verify correctness of /etc/master.passwd --- usr.sbin/adduser/adduser.perl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin') 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 # -# $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 $?; } -- cgit v1.1