Ylmf was modified from the Ubuntu system and has a distinctive feature like ubuntu,
That is, when you use it for the first time, you cannot act as the root user.
To log on to the system. Why? This should begin with the installation of the system. For other Linux systems, the root password is usually set during the installation process, so that users can use it to log on to the root account.
Or use the su command to convert to the Super User identity. In contrast, UBUNTU does not set a password for the root user or enable the root account when it is installed by default. It is easy to set the password for assigning a root Super User. Just set a root password for the root user: $ Sudopasswd Root
You will be prompted to enter the root user password, enter the root password continuously, and then use: $ su
You can switch to the super administrator user to log on!
1. After executing the sudo passwd root command on the terminal, the system will prompt you to set a new root account password.
2. choose system> System Management> loginwindow, switch to the security option page, and select the "Allow Local systemadministrator login" option.
After performing the preceding two steps, you can use the root account to log on to the Ubuntu system.
If you want to disable the root account again, run sudo passwd-l root.
======================================
Method 2:
Use the root account to log on to Ubuntu
In fact, I personally think this is not necessary, because when you need the root permission, you can use sudo. If you need to enable the root account in Ubuntu, perform the following operations:
1. Reset the root password:
$ Sudo passwd root # Enter the new password twice as prompted and confirm it.
2. Enable Root User Logon:
$ Sudo VI/etc/TPD. conf #
Open the gnome configuration file, input: allowroot press enter in the last line mode, find allowroot = false, change false to true, save and exit.
After that, you can log on to the system as the root user. If you want to disable the root account, run the following command:
$ Sudo passwd-l Root
The root account in Ubuntu is disabled by default. In this case, if you want to use the root permission to do something, you need the sudo command. For some friends, they may need to activate the root account in Ubuntu.