1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zabbix_ynh.git synced 2024-09-03 20:36:14 +02:00

delete credentials testing

This commit is contained in:
Mickael-Martin 2019-01-15 14:04:13 +01:00
parent f7f65d15e9
commit a032a827e4

View file

@ -51,7 +51,7 @@ fi
#================================================= #=================================================
# Disable default admin for security issue # Disable default admin for security issue
#================================================= #=================================================
haveDefaultAdminDisabled=$(mysql -BN -u root -psMquHFoRof zabbix -e "SELECT count(id) from \`users_groups\` where userid=1 and usrgrpid=9") haveDefaultAdminDisabled=$(mysql -BN -u$db_user -p$db_pwd $db_name -BN -e "SELECT count(id) from \`users_groups\` where userid=1 and usrgrpid=9")
if [ "$haveDefaultAdminDisabled" -eq 0 ] ;then if [ "$haveDefaultAdminDisabled" -eq 0 ] ;then
echo "Disable default admin" echo "Disable default admin"