How to login as root in ubuntu?
I was trying to login as root in ubuntu. But it was not accepting it. How to log in as root in ubuntu?
|
Welcome to LQ
It's not a good idea to login as root in the GUI. Login as user, and use su or sudo if you need to do root task. Kind regards |
Code:
sudo -i Code:
sudo bash Code:
sudo passwd |
Ubuntu's default security model is to lock the root account and use sudo instead.
https://wiki.ubuntu.com/RootSudo |
In Fedora, I fixed the block on root log-ins by editing /etc/pam.d/gdm. There's a line which now reads
auth required pam_succeed_if.so quiet but which used to contain something like "user != root" You can try that. |
Code:
sudo su I learned this at my LUG. |
All times are GMT -5. The time now is 05:42 AM. |