Skip to content

Instantly share code, notes, and snippets.

View fox4ua's full-sized avatar

Aleksandr fox4ua

  • Ukraine
View GitHub Profile
@fox4ua
fox4ua / mysql_secure.sh
Created April 10, 2022 20:30 — forked from Mins/mysql_secure.sh
Automating mysql_secure_installation
#!/bin/bash
aptitude -y install expect
// Not required in actual script
MYSQL_ROOT_PASSWORD=abcd1234
SECURE_MYSQL=$(expect -c "
set timeout 10