1. Skip to Menu
  2. Skip to Content
  3. Skip to Footer

DIAS is a portal that can help you get your work done

Αυτή η υπηρεσία μπορεί να σας βοηθήσει να γίνετε πιο αποτελεσματικοί στην τάξη και στο μάθημα σας γενικότερα...

Login as Root in Ubuntu 12.04

Login as Root in Ubuntu 12.04 (Precise Pangolin)

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

root login 1

 

 

 

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'

root login 2

 

 

 

Restart your computer and choose to login as root.

root login 3

 

 

 

 

 

 

 

 

 

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