Login as Root in Ubuntu 12.04

来源:互联网 发布:怪物猎人ol捏脸数据男 编辑:程序博客网 时间:2024/06/08 09:24

Want to enable root logon in Ubuntu 12.04? Well, even though it’s not recommended, it’s still possible to login with the root or administrator account, and this brief tutorial is going to show you how. The reason it’s not recommended is simple; because people make mistakes. Making the smallest mistakes in Ubuntu while login as the root user can completely render your computer inoperable. Besides damaging your system, it also creates security risks to login as the root user.

If you still want to login as the root user after all the risks I mentioned above, then continue below to learn how.

Objectives:

  • Enable the root account in Ubuntu 12.04
  • Enjoy!

To get started, press Ctrl – Alt – T on your keyboard to open Terminal. When it opens, run the commands below to create a new root password.

sudo passwd root

Next, copy and paste the commands below to enable manual or other login.

sudo sh -c 'echo "greeter-show-manual-login=true" >> /etc/lightdm/lightdm.conf'

 


 

Restart your computer and choose to login as root.

Enjoy! When you login, the username on the username will show Guest, ignore that. You’re root!


原创粉丝点击