Pages

Tuesday 25 June 2013

Linux / UNIX: Login as Root (Ubuntu)

Want to enable root login in Ubuntu ? 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
  • 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_precise

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_precise_2

Restart your computer and choose to login as root.

root_precise_1

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

No comments:

Post a Comment