Monday, October 1, 2012

Enable Root Access on Ubuntu 12.04

Login using user credentials.
  • Press Ctrl+Alt+T to open a command terminal.
  • Type  sudo passwd root
  • Now you'll be asked to enter you current user password for privilege verification that you need to type in a new password for root.
  • Type the following lines one by one and press enter after each.
  • sh -c 'echo "greeter-show-manual-login = true" >> /etc/lightdm/lightdm.conf'
  • sh -c 'echo "allow-guest = false" >> /etc/lightdm/lightdm.conf'
  • Reboot

Now you should see an option on login screen named "Other". Click on that option and type the username root and password that you created in previous steps.

No comments: