Skip to content

Instantly share code, notes, and snippets.

Avatar

J DarthCaniac

View GitHub Profile
View mysql_secure.sh
#!/bin/bash
aptitude -y install expect
// Not required in actual script
MYSQL_ROOT_PASSWORD=abcd1234
SECURE_MYSQL=$(expect -c "
set timeout 10