This Ansible script will fully rotate your MySQL root account passwords (or change any MySQL account passwords if you change the script) and implement my.cf so you don’t have to keep putting the password in.
How to disable root SSH logins
How to disable root SSH logins One of the biggest security holes you could open on your Linux server is to allow directly logging in as root through ssh, because any cracker can attempt to brute force your root password and potentially get access to your system. It’s much better to have separate account that… Read more »
Reset root Passwords on Linux
Just a quick how to reset Linux accounts, very basic but for the newbies out there it might come in handy. # passwd <username> Example: # passwd test Type the new password twice Okay so the basics are covered, lets go into something a little stronger – how to recover a root password. Recover ROOT… Read more »