Changed file permissions

This commit is contained in:
Michael Boelen 2018-04-23 10:56:26 +02:00
parent c5dcbe8c31
commit 40d6a853d5
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04
5 changed files with 2 additions and 2 deletions

0
include/functions Executable file → Normal file
View File

View File

@ -78,8 +78,8 @@
# "-u root --password=" avoids ~/.my.cnf authentication settings
# "plugin = 'mysql_native_password' AND authentication_string = ''" avoids false positives when secure plugins are used
FIND=$(${MYSQLCLIENTBINARY} --no-defaults -u root --password= --silent --batch --execute="SELECT count(*) FROM mysql.user WHERE user = 'root' AND plugin = 'mysql_native_password' AND authentication_string = ''" mysql 2>/dev/null)
if [ "${FIND}" > "0" ]; then
FIND=$(${MYSQLCLIENTBINARY} --no-defaults -u root --password= --silent --batch --execute="SELECT count(*) FROM mysql.user WHERE user = 'root' AND plugin = 'mysql_native_password' AND authentication_string = ''" mysql 2>/dev/null; echo $?)
if [ "${FIND}" = "0" ]; then
LogText "Result: Login succeeded, no MySQL root password set!"
ReportWarning ${TEST_NO} "No MySQL root password set"
Display --indent 4 --text "- Checking empty MySQL root password" --result "${STATUS_WARNING}" --color RED

0
include/tests_logging Executable file → Normal file
View File

0
include/tests_squid Executable file → Normal file
View File

0
include/tests_time Executable file → Normal file
View File