05 July 2019

Auto Login in Kali Linux for Root User


The root is the user name or account that by default has access to all commands and files on a Linux or other Unix-like operating system. Kali Linux administrators can use the root user account to perform tasks that require access to more areas of the system. 

In layman language, the root user always acts superuser user because of full rights and permissions on the system.

Although it's not a good practice for anyone to use root as their normal account, because of security risks. You can also use “su” command to switch from one user to another.
su – {user-name}
However it's uneasy to type the root/toor (In Kali Linux case) combination every time Kali boots. So to make things simple just make the user root login automatically at system start.

1. And for this, you need to one file which is /etc/gdm3/daemon.conf


2. Go to Line No 10, 11 and just uncomment it for auto login root user.


Now, restart your Kali Linux machine by typing init 6 in your terminal and you’ll be directly logged in as root user and it won’t prompt you again and again to fill out the username and password.

Post a Comment

Whatsapp Button works on Mobile Device only

Start typing and press Enter to search