Hack Forums
Login as Root in Kali - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449)
+---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4)
+---- Thread: Login as Root in Kali (/showthread.php?tid=5318527)



Login as Root in Kali - CH325 - Jun 26, 2016

I recently installed Kali on my system. Whenever I login in, I login as my new account which i created while installing Kali. In some cases like of nmap, if i use -sS, it ask me for root privilege. Here sudo helps.

But what if I want to login as a root ? I tried username and password as root and toor but it didn't work. Only my account's username and password works.

So, how to login as ROOT or can i assign by new account all the root privilege?😝


* - Mudge. - Jun 26, 2016

reset the password for root using the below guide

http://www.technig.com/reset-lost-password-of-kali-linux/

then just log into root :)

- Mudge


* - CH325 - Jun 26, 2016

(Jun 26, 2016 09:52 AM)Mudge. Wrote:  reset the password for root using the below guide

When I enter the recovery mode, following message occurs:
"Cannot open access to console, the root account is locked.
See sulogin(0) man page for more details.

Press Enter to continue"


* - cybertanned - Jun 26, 2016

You should already be root. Log into Kali again and run:
Code
groups



* - newgonhowzter - Jun 26, 2016

Try sudo passwd root, it should as for your password then allow you to change the password for the user "root". If the above does not solve your question :)