This blog is NOT OFFICIAL website of Kali Linux. We just share Tutorials to learn Cybersecurity.

How to Enable root User Account in Kali Linux 2020

We have been asked twice in our twitter account via message that how to enable root user in Kali Linux 2020. Previously (before 2020 versions) root users comes in default but Kali Linux moved to default non-root user in 2020.1 and later version.

This will help a lot to new learners and this is good for security reasons, but there was some advanced users who want to use Kali Linux in very aggressive way. They will surely miss the root user. Only for those people who wants root user by default again we are writing this, how we can login with root in Kali Linux 2020.2. Sometime it happens with us that we forgot to use the sudo command (using Kali from the backtrack days as root😊).
Active/Enable root user account in Kali Linux 2020
The main thing is root user is already there but it is not enabled. in this tutorial we are going to activate it in a simple way. This is gonna be very simple. After 2020 update root user doesn't comes with a password. We just need to create a password for root user. That's it

First we need to login in Kali Linux with our non-root user. Then we need to open our terminal and type following command:
sudo su
Then we type our non-root user's password and we get root access in our terminal.
granting access sudo su
But we don't stop here. We need to log in with the root user. Now we need to type following command:
passwd root
Then it will prompt for new password for the root user we can type anything but they will be invisible for security purpose. To confirm the password we need to type our password again.
sucessfully added root user password
Now all set. We have done it. Isn't it so simple?

We just need to logout or restart our Kali Linux machine and we can use root in our username filed and the new created password in the password filed.
login root account in Kali Linnux 2020.2

That is how we can setting up the root account in Kali Linux 2020.

For more tutorials about Kali Linux and Cybersecurity visit our website regularly and follow us at Twitter and Medium. For anything to ask or we did mistake please let us know in the comment section. We always reply.

Kali Linux


Post a Comment
  • Unknown photo
    UnknownOctober 25, 2020 at 5:30 PM

    not root even logout or restart

    Delete Comment
  • Ghost Shadow photo
    Ghost ShadowNovember 23, 2020 at 9:21 AM

    doesn't work

    Delete Comment
    • Ghost Shadow photo
      Ghost ShadowNovember 23, 2020 at 9:26 AM


      Followed instructions...after reboot, root name did not show, clicked on "Not listed?", used root name and new password, got message, sorry, that didn't work, please try again.

      Delete Comment
      • AnonymousNovember 24, 2020 at 11:57 PM

        I got the same error.
        Although I changed the root password for the other user, it didn't work.

        Delete Comment
        • AnonymousDecember 2, 2020 at 3:47 PM

          try sudo apt install kali-root-login

          Delete Comment
        • onyx hackhatDecember 2, 2020 at 4:07 PM

          sudo su
          sudo install kali-root-login
          sudo passwd
          //type new root password
          sudo reboot

          //enter root as username and root password u typed in terminal

          Delete Comment
          • ARJ photo
            ARJDecember 11, 2020 at 6:32 PM

            Usefull 🥰

            Delete Comment
            • Unknown photo
              UnknownMay 14, 2021 at 6:38 PM

              edit bash.rc file for root access
              check video link

              Delete Comment