diff options
author | 2001-04-15 20:01:02 +0000 | |
---|---|---|
committer | 2001-04-15 20:01:02 +0000 | |
commit | b3d543a56150752a0828b627605ef745bbac4a3e (patch) | |
tree | 73ec2a340775af01162ef879861a71b88aeadc9c /adduser/rmuser.perl | |
parent | 290f3f20f20e034be65d39bc33f0e8d4c11e1eb3 (diff) | |
download | pw-darwin-b3d543a56150752a0828b627605ef745bbac4a3e.tar.gz pw-darwin-b3d543a56150752a0828b627605ef745bbac4a3e.tar.zst pw-darwin-b3d543a56150752a0828b627605ef745bbac4a3e.zip |
Rev 1.11 introduced a bug where the processing became case insensative for
username to rm.
PR: 25961
Submitted by: Linh Pham <lplist@closedsrc.org>
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 c5c9b74..96a4ed1 100644 --- a/adduser/rmuser.perl +++ b/adduser/rmuser.perl @@ -317,7 +317,7 @@ sub update_passwd_file { print STDERR "\n${whoami}: Warning: couldn't set mode of $new_passwd_file to 0600 ($!)\n\tcontinuing, but please check mode of /etc/master.passwd!\n"; $skipped = 0; while (<MASTER_PW>) { - if (not /^\Q$login_name:/io) { + if (not /^\Q$login_name:/o) { print NEW_PW; } else { print STDERR "Dropped entry for $login_name\n" if $debug; |