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.servicesudo systemctl enable mariadb.service