Browse code

Merge "Fedora mariadb: disable cracklib"

Jenkins authored on 2017/06/23 20:28:05
Showing 1 changed files
... ...
@@ -71,6 +71,10 @@ function configure_database_mysql {
71 71
     elif is_fedora; then
72 72
         mysql=mariadb
73 73
         my_conf=/etc/my.cnf
74
+        local cracklib_conf=/etc/my.cnf.d/cracklib_password_check.cnf
75
+        if [ -f "$cracklib_conf" ]; then
76
+            inicomment -sudo "$cracklib_conf" "mariadb" "plugin-load-add"
77
+        fi
74 78
     else
75 79
         exit_distro_not_supported "mysql configuration"
76 80
     fi