Disable Root Account in Ubuntu

An freshly installed Ubuntu got the root Account set to the best and most secure state ever: DISABLED!
But if you use ready-made Appliances and such, most of these Ubuntu Appliances come with an enabled Root Account. How to disable this account? Easy:

sudo usermod -p '!' root

Source: http://serverfault.com/questions/178080/how-do-i-disable-root-login-in-ubuntu

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.