mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-28 12:07:10 +01:00
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>
This commit is contained in:
parent
5e75e35cca
commit
5efcb24b76
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=75532
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user