This guide will show you how to enable the “root” user in Ubuntu, and how to allow the root user to use Gnome.
Ubuntu Linux ships with the tool sudo all setup for you to use to perform any administrative tasks instead of giving you root user privileges. If you have used other flavors of Linux and performed any administrative tasks on them you will quite likely feel a bit constrained by sudo, even though you can do just about anything you can as root with sudo. In such cases you can enable the root user account which has been disabled by Ubuntu by default. Note: this could pose a security risk and is not recommended for beginners.
# sudo passwd root
AllowRoot=true
auth required pam_succeed_if.so user != root quiet_success
so that it reads:
# auth required pam_succeed_if.so user != root quiet_success
If you’re enabling root you’re probably comfortable with being a bit lax on security, so maybe you’d like to automatically sign-in to Ubuntu too?
View Comments
Simple, but Great ..