ubuntu 12.10创建root根用户的方法
To get started, hit Ctrl+Alt+T, copy and paste this command into terminal and hit enter:sudo passwd root
Input current user’s password, then input a root password twice.Typing in your password does not show in terminal, just blindly type inyour password and hit enter.
http://handytutorial.com/wp-content/uploads/2012/10/enable-root-account.png
Enable Login as Root account in LightDM:
Root account won’t shown as a user in Ubuntu LightDM login screen, soyou need to manually type in username and password. To enable it:
Edit “/etc/lightdm/lightdm.conf” with this command:
gksudo gedit /etc/lightdm/lightdm.conf
http://handytutorial.com/wp-content/uploads/2012/10/edit-lightdm.png
Then add this line to the end and save the file.
greeter-show-manual-login=true
http://handytutorial.com/wp-content/uploads/2012/10/edit-lightdm1.png
Now restart your computer, choose Login and type in root and password to login as root.
http://handytutorial.com/wp-content/uploads/2012/10/login-as-root.png
Enjoy!
页:
[1]