Results 1 to 3 of 3

Thread: Need help transitioning to root

  1. #1

    Need help transitioning to root

    I know now kali defaults to kali user when u download but Im trying to figure out how to gain root access

  2. #2
    Join Date
    2020-Apr
    Posts
    4
    all you have to do is in terminal type sudo su
    it will then ask for your default users password then you will be root and once you are in root you can type passwd to change the root password to something you like and now when you want to change to root you just type su and then enter the password you created once asked and you are root again..... now you can also add your default user to the trusted group so you can do passwordless privlege escalation... so in other words after you add the default user to the trusted group you can type sudo with what ever command and it will not ask for a password instead it will just execute it... Now what I would like to know is how to log in as root... I liked being root on the older kali system.. I realize it isn't really secure to have root as the default but I liked it better becuase I didn't have to escalate priveleges but it also made me very aware of what I was doing becuase I knew one false move and I would screw everything up..... so If you learn of anyway to log in as root on the new kali linux 2020.1b I would appreciate you pointing me in the direction of that information.... as for adding your default user to the trusted group here are the instructions for you to follow

    first you need to make sure you installed have kali-grant-root installed if not then type in terminal apt-get install kali-grant-root
    once you know you have that installed then type sudo dpkg-reconfigure kali-grant-root it will then open a configuration window that will ask if you would like the default user added to the trusted group...you chose yes and now when you run the sudo command it doesn't require a password... the only time you will need a password is when you decide to switch to root.... I hope I helped you out good luck

  3. #3
    Thank you man, got it working now.

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. Root
    By Joshua12 in forum General Archive
    Replies: 0
    Last Post: 2020-03-17, 23:10
  4. 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

Posting Permissions

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