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 | 8dcfcc91f5619b39cf0fd7e303bd5e2c6957197d (patch) | |
tree | 8fe2ed054cbc0b849e67d0fcd0611ce58dd37670 /adduser/rmuser.perl | |
parent | fa9d47b21d6508e943fd319be7417ce0ac718bb6 (diff) | |
download | pw-darwin-8dcfcc91f5619b39cf0fd7e303bd5e2c6957197d.tar.gz pw-darwin-8dcfcc91f5619b39cf0fd7e303bd5e2c6957197d.tar.zst pw-darwin-8dcfcc91f5619b39cf0fd7e303bd5e2c6957197d.zip |
Install the new password file with pwd_mkdb, not the old one.
PR: 29366 (in part)
Diffstat (limited to 'adduser/rmuser.perl')
-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 |