This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Automate mysql secure installation for Red Hat Enterprise Linux (RHEL) compatible distributions | |
# | |
# - Change a password for root accounts (CLI option) | |
# - Remove root account access from hosts other than localhost. (default behavior) | |
# - Remove anonymous-user accounts. (default behavior) | |
# - Remove the test database and privileges that permit anyone to | |
# access databases with names that start with test_. (default behavior) | |
# |