From 09be925c9cc2d5b43c8fc008e629472d8892081e Mon Sep 17 00:00:00 2001 From: Guy Helmer Date: Wed, 1 Aug 2001 15:27:39 +0000 Subject: Install the new password file with pwd_mkdb, not the old one. PR: 29366 (in part) --- adduser/rmuser.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'adduser') diff --git a/adduser/rmuser.perl b/adduser/rmuser.perl index 9261708..778cea2 100644 --- a/adduser/rmuser.perl +++ b/adduser/rmuser.perl @@ -349,7 +349,7 @@ sub update_passwd_file { # Run pwd_mkdb to install the updated password files and databases print STDERR " updating databases,"; - system('/usr/sbin/pwd_mkdb', '-p', ${passwd_file}); + system('/usr/sbin/pwd_mkdb', '-p', ${passwd_tmp}); print STDERR " done.\n"; close(MASTER_PW); # Not useful anymore -- cgit v1.2.3-56-ge451