Because when you need root permissions, you can use sudo. If you really need to enable the root account in Ubuntu, then you might want to do the following:
1. Reset the root password:
$sudo passwd Root #按照提示输入两次新的密码 and confirm it.
2. Enable Root User login:
In the system-system Management-login interface to enable login display user list, restart the system, log in when the user selects other, and then enter root, enter the password, you can enter
Then, when you restart the system, you can log in with root. If you want to disable the root account, execute the following command:
$sudo passwd-l Root
The root account in Ubuntu is disabled by default. In this case, if you want to use root permissions to do something, you will need sudo instructions. For some friends, they may need to activate the root account in Ubuntu.
The process for activating the root account in Ubuntu is as follows:
1. After the terminal executes the sudo passwd root command, you will be prompted to set a new root account password.
2. Click the Login Window menu, System-Preferences, and switch to the Security Options page and select the Allow local System Administrator Login option under it.
After performing these two steps, you can log in to the Ubuntu system using the root account.
If you want to disable the root account again, you can execute sudo passwd-l root.
If you always want to always use root can also "sudo-s".
Iv. Ubuntu12.04lts start interface using root login
Ubuntu12.04lts installation After the start interface only a normal user and guest user login, there is no place to enter the user name, how to do? Just make the following changes:
A) Edit config file: sudo gedit/etc/lightdm/lightdm.conf
b) Add one line: greeter-show-manual-login=true
c) Add another line: Allow-guest=false, adding complete
d) Save, restart the system to
V. Ubuntu14.04 how to enable the interface root account login?
A) reset root password First, no more, sudo passwd root
b) Modify the configuration file sudo gedit/usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
Added: Greeter-show-manual-login=true Save and close
c) Restart the system
Everyone is making progress, we have no reason to stop!
NetEase VIP Mailbox
You may also like:
Ubuntu Restore root User password
Forgot MySQL root password solution under Ubuntu
Linux users,/etc/passwd, and/etc/shadow files
How do I unregister my survey account?
Linux user groups,/etc/group files, and account-related operations commands
How to log in with the root account in Ubuntu