]> git.cameronkatri.com Git - pw-darwin.git/commitdiff
Install the new password file with pwd_mkdb, not the old one.
authorGuy Helmer <ghelmer@FreeBSD.org>
Wed, 1 Aug 2001 15:27:39 +0000 (15:27 +0000)
committerGuy Helmer <ghelmer@FreeBSD.org>
Wed, 1 Aug 2001 15:27:39 +0000 (15:27 +0000)
PR: 29366 (in part)

adduser/rmuser.perl

index 926170890a846c4e3d3191ace4cc5e7a9c74eb6e..778cea268cba26226700a4f1891267cd05c7e20c 100644 (file)
@@ -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