PDA

View Full Version : How can I log in as root?



N0odl3z
2020-04-03, 05:26
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...

Thiviyan
2020-04-19, 16:50
sudo apt install kali-root-login
will help you with this issue

re4son
2020-04-19, 23:31
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
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?

N0odl3z
2020-05-02, 17:06
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

PhantomRoger
2020-05-16, 11:20
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.

Recreolo
2020-05-22, 15:26
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

_XPLOIT_
2020-05-23, 20:05
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...

Reggy
2020-10-14, 14:49
Hi can you help me out, I have the same problem I can't login as root to kali linux

Othello
2020-11-27, 21:04
[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

Trendigitaltech
2021-02-22, 17:08
Thank you so much this is exactly what I needed I had the same problem

cyber_katman
2021-05-02, 01:56
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