From 4f78f48f8b789d67721d850ee186ae74d15217eb Mon Sep 17 00:00:00 2001 From: Wolfram Schneider 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 --- adduser/adduser.perl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'adduser') 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 # -# $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.2.3-56-ge451