Results 1 to 12 of 12

Thread: How can I log in as root?

  1. #1
    Join Date
    2020-Apr
    Posts
    4

    How can I log in as root?

    I have installed Kali Linux 2020.1b and have noticed I can't log in as root. I understand the reason behind root not being the default user anymore but I don't understand why loging in has been eliminated all together, unless I am doing something wrong... now I did gain access to root and I am able to switch between accounts, I also added my default user to the trusted group so I can have passwordless privlege escalation.. All that is great but I want to able to log in as root, Does anyone know of a way to change my distro in a way where I am allowed to log in as the root user rather than switch between the two in the terminal?

    I have been looking everywhere for how to do this and I can't find anything...

  2. #2
    Join Date
    2016-Oct
    Location
    London
    Posts
    46
    sudo apt install kali-root-login
    will help you with this issue

  3. #3
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    Quote Originally Posted by N0odl3z View Post
    I have installed Kali Linux 2020.1b and have noticed I can't log in as root.
    Did you do a default installation - xfce and default packages?

    I've just done a standard install, logged in as my user, ran
    Code:
    sudo passwd
    logged out and back in as root. All seems to be working fine.
    What error message did you get when you tried that?

  4. #4
    Join Date
    2020-Apr
    Posts
    4

    This worked wonderfully

    Quote Originally Posted by Thiviyan View Post
    sudo apt install kali-root-login
    will help you with this issue

    Thank you so much this is exactly what I needed it is working great.... Appreciate the help

  5. #5
    Hi all, managed to enter as root after following your help.

    I would like to check, my Root is all white in colour and not colourful as when I was in user. Is that normal?

    Apprecate your help and thanks in advance.

  6. #6
    Join Date
    2020-May
    Posts
    2
    Starting with Kali 2020.1, there is no longer a superuser account and the default user is now a standard, non-privileged user. Until now, users have logged on to the system with the user ?root? and the password ?toor?. In Kali Linux 2020.1, both the default user and password will be choices during installation
    username: "you username installation"
    password: "your password "
    kali linux invalid password root toor for version 2020.1

    If you would like to use root instead here are the instructions to do so:
    Issue command ?sudo su?
    <Enter the password for kali user account>
    Issue command ?passwd root?
    <Enter new password and retype that password>
    At this point you can log-off and re log-in or you can just switch the user and log in as root.

    bye bye

  7. #7
    Join Date
    2020-May
    Posts
    1
    Quote Originally Posted by Thiviyan View Post
    sudo apt install kali-root-login
    will help you with this issue
    hey im pretty new and when i downloaded kali linux in the terminal it says kali@kali instead of root@kali or whatver....can you help me ?
    im kinda lost...

  8. #8
    Join Date
    2020-Oct
    Posts
    1
    Hi can you help me out, I have the same problem I can't login as root to kali linux

  9. #9
    Join Date
    2020-Nov
    Posts
    1
    [QUOTE=Recreolo;94624]Starting with Kali 2020.1, there is no longer a superuser account and the default user is now a standard, non-privileged user. Until now, users have logged on to the system with the user ?root? and the password ?toor?. In Kali Linux 2020.1, both the default user and password will be choices during installation
    username: "you username installation"
    password: "your password "
    kali linux invalid password root toor for version 2020.1

    If you would like to use root instead here are the instructions to do so:
    Issue command ?sudo su?
    <Enter the password for kali user account>
    Issue command ?passwd root?
    <Enter new password and retype that password>
    At this point you can log-off and re log-in or you can just switch the user and log in as root.

    bye bye
    [/QU

    Your solution works for me
    Thank you

  10. Thank you so much this is exactly what I needed I had the same problem
    Webmaster of Trendigitaltech

  11. #11
    Join Date
    2021-May
    Location
    California
    Posts
    1
    How to use the root user in Kali?

    ┌──(kali㉿kali)-[~]
    └─$ sudo su <<---- You have to type "sudo su"
    [sudo] password for kali: <<---- here your kali password
    ┌──(root��kali)-[/home/kali] <<---- now you are root. There is no need to log into kali using the user root.



    Regards,
    Cyber_katman
    Regards,

    Cyber_Katman

  12. #12
    Join Date
    2021-Dec
    Posts
    1
    I have a problem like that I treid to login as the username i put andd i made sure that my password and username is good and it says password incorect than i tried loggin in as root it worked but if I close my laptop i cant login anymore can you please help me

Similar Threads

  1. Replies: 0
    Last Post: 2021-10-14, 18:33
  2. Nethunter hunter differences - No Root / Root / NetHunter Image
    By drac13 in forum NetHunter General Questions
    Replies: 1
    Last Post: 2021-03-23, 16:16
  3. nethunter no root access can't root with adb
    By bobmollleman in forum NetHunter General Questions
    Replies: 0
    Last Post: 2015-08-30, 14:35

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •