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.

Update 26 May 2019
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile