Auto login root user at system start in Kali linux

By | May 11, 2013

Kali linux uses the root user, since root privileges are needed to run various security tools like nmap and wireshark etc. However its uneasy to type the root/toor combination everytime Kali boots. So to make things simple just make the user root login automatically at system start.

And here are the simple steps to do it. Open and edit the file called /etc/gdm3/daemon.conf.

root@kali:~# leafpad /etc/gdm3/daemon.conf

In the daemon section uncomment the 2 lines for automatic login. It should finally look like this

[daemon]
# Enabling automatic login
  AutomaticLoginEnable = true
  AutomaticLogin = root

Done. Now reboot and enjoy. You dont need to type the username/password again and again.

About Silver Moon

A Tech Enthusiast, Blogger, Linux Fan and a Software Developer. Writes about Computer hardware, Linux and Open Source software and coding in Python, Php and Javascript. He can be reached at [email protected].

8 Comments

Auto login root user at system start in Kali linux
  1. Shubh Sec

    Hey ,
    I found Security Vulnerability in your web application. For security purpose can we report vulnerability here,then will I get a bounty reward in PayPal or Bitcoin for the Security bug ?
    ThanksNickIndependent security research

  2. Userhd

    If i am using lightdm instead of genome desktop how can i auto login as root in kali linux on raspberry- pi 3 + berryboot

Leave a Reply

Your email address will not be published. Required fields are marked *