if .mylogin.cnf is set not SECURITY WARNING
This commit is contained in:
parent
d0a811dac6
commit
0e66f16b05
1 changed files with 1 additions and 1 deletions
|
@ -399,7 +399,7 @@ sub mysql_setup {
|
|||
if (length($userpath) > 0) {
|
||||
chomp($userpath);
|
||||
}
|
||||
unless ( -e "${userpath}/.my.cnf" ) {
|
||||
unless ( -e "${userpath}/.my.cnf" or -e "${userpath}/.mylogin.cnf" ) {
|
||||
badprint "Successfully authenticated with no password - SECURITY RISK!\n";
|
||||
}
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue