diff options
author | Guy Helmer <ghelmer@FreeBSD.org> | 2001-08-01 15:27:39 +0000 |
---|---|---|
committer | Guy Helmer <ghelmer@FreeBSD.org> | 2001-08-01 15:27:39 +0000 |
commit | 09be925c9cc2d5b43c8fc008e629472d8892081e (patch) | |
tree | eae446da27ba325ce419f919156d57fa2b59e66a /adduser | |
parent | e9d05c96ffbc7855054de386f0ec023b288d82b9 (diff) | |
download | pw-darwin-09be925c9cc2d5b43c8fc008e629472d8892081e.tar.gz pw-darwin-09be925c9cc2d5b43c8fc008e629472d8892081e.tar.zst pw-darwin-09be925c9cc2d5b43c8fc008e629472d8892081e.zip |
Install the new password file with pwd_mkdb, not the old one.
PR: 29366 (in part)
Diffstat (limited to 'adduser')
-rw-r--r-- | adduser/rmuser.perl | 2 |
1 files changed, 1 insertions, 1 deletions
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 |