In ubuntu, the root account is disabled by default. What is the root account? Let's take a look! The root account is a super administrator in Linux. This account has all rights to operate on all files, which is equivalent to the administrator account in windows. Therefore, it is unsafe to enable the root account. in our use process, we may need to use this account. How should we use the root account to log on to the system?
I,
Open the terminal and enter
Sudo-S
Sudo passwd Root
Enter your password, and then enter
Gksu/usr/sbin/gdmsetup
The login window in system management is called up. Click the Security tab, select allow local administrator to log on, and then exit. Use the root account to log on again.
II,
Enter:
Sudo gedit/etc/TPD. conf
Edit the files for the GMS. conf file, find "allowroot = false" in the file, and change "false" to "true. Save, exit, and use your root account password to log on!