Enable Root account in Ubuntu

There is a sudo command in Ubuntu that allows you to perform any administrative tasks in place of root account permissions. If you use another Linux favorite tool and perform any administrative tasks on it, you will feel a little forced by sudo, although you can do anything like an account. root with sudo

There is a sudo command in Ubuntu that allows you to perform any administrative tasks in place of root account permissions . If you use another Linux favorite tool and perform any administrative tasks on it, you will feel a little forced by sudo, although you can do anything like an account. root with sudo. In this case you can enable the root account, disabled by default by Ubuntu.Note : This may cause security problems and is not recommended for new users .

There are two levels where you can enable root accounts - using the command line and using the Gnome desktop. To enable root account with the command line, run the following command:

# sudo passwd root

This command will immediately request to enter your password, and then re-enter the password again. Enter the correct password and the command line with the root account will be started.

To enable root accounts in Gnome, open the gdm.conf file, which is usually located at /etc/X11/gdm/gdm.conf and changes the AllowRoot condition to:

AllowRoot = true

Save this file. Exit Gnome and reopen it to activate your settings.

You've just finished reading the article "Enable Root account in Ubuntu" edited by the TipsMake team. You can save enable-root-account-in-ubuntu.pdf to your computer here to read later or print it out. We hope this article has provided you with many useful tech tips and tricks. You can search for similar articles on tips and guides. Thank you for reading and for following us regularly.

« PREV The divine poses will give you a beautiful image of ecstasy
NEXT » Distribute file access with chmod command