if .mylogin.cnf is set not SECURITY WARNING

This commit is contained in:
root 2015-06-18 10:12:23 +02:00
parent d0a811dac6
commit 0e66f16b05

View file

@ -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;