diff options
author | ghelmer <ghelmer@FreeBSD.org> | 2001-08-01 15:27:39 +0000 |
---|---|---|
committer | ghelmer <ghelmer@FreeBSD.org> | 2001-08-01 15:27:39 +0000 |
commit | df24500a505029e885998c8fc6beccecf8b1e7f3 (patch) | |
tree | 47af0406a1d140f0f97cf87691c95f135144882f | |
parent | ddc87708b4739ec5ee2c65830731cc012a19e1af (diff) | |
download | FreeBSD-src-df24500a505029e885998c8fc6beccecf8b1e7f3.zip FreeBSD-src-df24500a505029e885998c8fc6beccecf8b1e7f3.tar.gz |
Install the new password file with pwd_mkdb, not the old one.
PR: 29366 (in part)
-rw-r--r-- | usr.sbin/adduser/rmuser.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/adduser/rmuser.perl b/usr.sbin/adduser/rmuser.perl index 9261708..778cea2 100644 --- a/usr.sbin/adduser/rmuser.perl +++ b/usr.sbin/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 |