MT#21227 Add MySQL check to validate passwords for all users

Change-Id: I435ded11257489be0edcd2c3f579f6a47a9a39a1
changes/63/7263/5
Alexander Lutay 10 years ago
parent b362f6084c
commit 71ba85f157

@ -0,0 +1,10 @@
{
"command": {
mysql -Bs mysql -e 'SELECT User,Host,Password FROM user WHERE (Password = "" OR Password LIKE "!%") AND User != "root"': {
"comment": "There must be no users without password (root is an exception here, customer must set it later)"
"exit-status": 0,
"stdout": [],
"stderr": []
}
}
}

@ -13,6 +13,7 @@
"08_system_ports.json": {},
"09_system_dns.json": {},
"10_sites_ok.json": {},
"11_mysql_paswords.json": {},
"99_dummy.json": {}
}
}

@ -0,0 +1 @@
../ce/11_mysql_paswords.json.tt2
Loading…
Cancel
Save