Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Kali Linux Root Problem

  1. #1
    Junior Member
    Join Date
    Aug 2016
    Posts
    6

    Kali Linux Root Problem

    So I have installed Kali Linux with Linux Deploy on a sdcard, the installation was sucssesful nothing went wrong, I got on Kali Linux with a VNC, I turn the LXTerminal and try getting root but it doesn't work, I tried every sudo command aswell as su with every possible password but it still doesn't work.

    Code:
    kali@localhost:~$ su
    Password:
    su: Authentication failure
    Code:
    kali@localhost:~$ sudo
    sudo: PERM_ROOT: setresuid(0, -1, -1): Permission denied

  2. #2
    Senior Member
    Join Date
    Apr 2013
    Location
    in a computer
    Posts
    695
    So you created a non-root user, logged in ok, and are trying to escalate to root?

  3. #3
    Junior Member
    Join Date
    Aug 2016
    Posts
    6
    I'm trying to get root access.
    Last edited by R4DeNvy; 2016-08-11 at 02:11 PM.

  4. #4
    Senior Member
    Join Date
    Apr 2013
    Location
    in a computer
    Posts
    695
    Hmm, is there some reason you don't want to work as root? Many of the tools in Kali won't run properly otherwise. I've never used/created another user in a Kali install.

  5. #5
    Junior Member
    Join Date
    Aug 2016
    Posts
    6
    ... Did you even read my thread? I'm trying to get root but the commands aren't working it's saying Authentication failure for su command and for sudo it says I don't have permission..

  6. #6
    Junior Member
    Join Date
    Jul 2016
    Posts
    9
    @R4DeNvy what happens when you type sudo -i

    the above command should just prompt you for your user's password to make the shell run as root, this is assuming your account is a member of the sudo group.

    to check if your user is a member of the sudo group type cat /etc/group |grep sudo

    the output of the above command should display all accounts part of that group, if yours isnt there then you need to add it.

  7. #7
    Junior Member
    Join Date
    Aug 2016
    Posts
    6
    If I type sudo -i it says I don't have permission, it says it even if I do any sudo command.

    I will check my group.

  8. #8
    Senior Member
    Join Date
    Apr 2013
    Location
    in a computer
    Posts
    695
    @R4DeNvy, I did read your thread. What confused me was that you aren't logging into Kali as root.

  9. #9
    Junior Member
    Join Date
    Aug 2016
    Posts
    6
    @grid, there is no option to logging as root on Kali Linux with Linux Deploy, you need to get root from the terminal with commands called su & sudo but I don't have the permission or it's authentication failure.
    Last edited by R4DeNvy; 2016-08-12 at 07:40 PM.

  10. #10
    Junior Member
    Join Date
    Jul 2016
    Posts
    9
    i honestly havent tried linux deploy cus my phone isnt rooted, and i am assuming the installation wont even work if the phone isnt rooted.

    that said, can you try sudo su "i read that the default password is "changeme" without quotes

    if the above works, you can change the password for root with
    sudo passwd

Posting Permissions

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