Auto root login - how to?
Hi Forum I am trying to figure out how to auto login with root on my kali install.
I have tried this:
gedit /etc/gdm3/daemon.conf
[daemon]
# Enabling automatic login
AutomaticLoginEnable = true
AutomaticLogin = root
But it doesn't auto login. I didn't think it would anyway as I havent told it what password to use anywhere.
Can someone advise me what I am missing please?
1 Attachment(s)
My lightdm-autologin file looks different
Quote:
Originally Posted by
CodeX-
After "researching" for half a day here is how to auto login in 2020.1 version
nano/etc/lightdm/lightdm.conf # and add these lines in [Seat:*] section
autologin-user=root
autologin-user-timeout=o
nano/etc/pam.d/lightdm-autologin #Comment out below line
#authrequired pam_succeed_if.so user != root quiet_success
I don't have the line referenced above in my lightdm-autologin (see screen shot). I only have auth required pam_permit.so. I tried commenting that but it didn't work. Any ideas?
Attachment 4344