Ubuntu 12.04: How to enable root login

1. vi /etc/lightdm/lightdm.conf and add following modifications.

greeter-show-manual-login=true

allow-guest=false

 

After that, your configuration file should look like that:

[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
greeter-show-manual-login=true
allow-guest=false

2. sudo passwd root

3. reboot

你可能感兴趣的:(ubuntu)