When installing mariadb on a kali vm, get sudo mysql_secure_installation may not work until the following commands are executed:


sudo systemctl start mariadb.service
sudo systemctl enable mariadb.service