diff options
author | obrien <obrien@FreeBSD.org> | 2001-04-15 20:01:02 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-04-15 20:01:02 +0000 |
commit | c96b30ff9c9e64d9ffb43ae0134299716968db13 (patch) | |
tree | 18196755b39d836b351192687e1a27ca3b45127c /usr.sbin | |
parent | 02c02ffeef661fbbb9fdcbd1f988dce4d593c4f1 (diff) | |
download | FreeBSD-src-c96b30ff9c9e64d9ffb43ae0134299716968db13.zip FreeBSD-src-c96b30ff9c9e64d9ffb43ae0134299716968db13.tar.gz |
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 'usr.sbin')
-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 c5c9b74..96a4ed1 100644 --- a/usr.sbin/adduser/rmuser.perl +++ b/usr.sbin/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; |