Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1038  / 1 Year ago, sat, april 29, 2023, 3:30:17

I ran this commands in Terminal and I didnt get any error:



sudo passwd root


and after setting password I ran this command:



sudo passwd -u root


but when I log off or reboot there is no root account!! please somebody tell me how can I login as root in ubuntu 12.04!


More From » login

 Answers
3

You can do this by editing /etc/lightdm/lightdm.conf The default contents are just:



[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu


And you can just add:



greeter-hide-users=true


Now logout and you'll see that there is no list of users in the login window.



so you can just write root as username...



If you want to return to old lightdm window that list all users just open /etc/lightdm/lightdm.conf file and remove the added line greeter-hide-users=true


[#26714] Saturday, April 29, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
kneducator

Total Points: 226
Total Questions: 111
Total Answers: 108

Location: Mexico
Member since Sun, Jul 25, 2021
3 Years ago
kneducator questions
Tue, Dec 6, 22, 09:22, 1 Year ago
Sun, Apr 30, 23, 23:26, 1 Year ago
Tue, Jun 8, 21, 01:25, 3 Years ago
Sun, Mar 12, 23, 10:51, 1 Year ago
;