We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88a9b23 commit 1879b2bCopy full SHA for 1879b2b
debian/additions/debian-start.inc.sh
@@ -65,7 +65,7 @@ function check_root_accounts() {
65
66
logger -p daemon.info -i -t$0 "Checking for insecure root accounts."
67
68
- ret=$( echo "SELECT count(*) FROM mysql.user WHERE user='root' and password='';" | $MYSQL --skip-column-names )
+ ret=$( echo "SELECT count(*) FROM mysql.user WHERE user='root' and password='' and plugin='';" | $MYSQL --skip-column-names )
69
if [ "$ret" -ne "0" ]; then
70
logger -p daemon.warn -i -t$0 "WARNING: mysql.user contains $ret root accounts without password!"
71
fi
0 commit comments