Results 1 to 12 of 12

Thread: Root Login Issue

  1. #1
    Join Date
    2018-Jul
    Posts
    21

    Question Root Login Issue

    I recently updated my Kali box and after a reboot I can't sign in with the root account using the GUI, I've gone in with tty and single user mode and can sign in just fine there with the same password. I've even reset the password and still can't sign in. It just gives "Sorry, that didn't work. Please try again." like my password is wrong, but i've gone into tty and did a "passwd root" & passwd and reset it and can't get signed in.

  2. #2
    Join Date
    2018-Jul
    Posts
    21
    Found the solution online right after posting this .


    1. Log in as a regular user and open a terminal and run
      su -c 'gedit /etc/pam.d/gdm-password'
    2. Change
      auth required pam_succeed_if.so user != root quiet to
      # auth required pam_succeed_if.so user != root quiet
    3. Save the file

  3. #3
    Join Date
    2020-Jan
    Posts
    7
    After entering password for su it gives an error Authentication failure.

  4. #4
    Join Date
    2020-Jan
    Posts
    7
    You wrote:
    Change
    auth required pam_succeed_if.so user != root quiet to
    # auth required pam_succeed_if.so user != root quiet

    There's no change. It's the same text.

  5. #5
    Join Date
    2020-Jan
    Posts
    7
    Quote Originally Posted by rets34 View Post
    Found the solution online right after posting this .

    What did you change? its the same text

  6. #6
    Join Date
    2017-Apr
    Posts
    5
    This is legit, I have had the same exact problem. I updated Kali Rolling 2019.3 and root password did not work. I was operating from within VMware Fusion and had a pre-update snapshot, so I restored the snapshot, and booted again. I logged in again as root in the pre-update snapshot of Kali just fine. I then performed the update again just to double-check that it indeed was the update — it was. After updating a second time, once again, the root password didn’t work. Something about the update must either kill the proper authentication mechanism or kills the password itself.

  7. #7
    Join Date
    2019-Dec
    Posts
    3
    Type "Startx" at tty1 or
    Try to reinstall lightdm and see if it works.
    sudo apt-get update
    sudo apt-get remove lightdm
    sudo apt-get install lightdm


  8. #8
    Quote Originally Posted by rets34 View Post
    Found the solution online right after posting this .

    Did not solve the problem.

  9. #9
    Join Date
    2019-Jun
    Posts
    6
    this is the easy way apt install kali-root-login

  10. #10
    Join Date
    2016-Oct
    Location
    London
    Posts
    46
    this is the working solution now...
    i think we will not be able to login to root in gui in future by default.

  11. #11
    Join Date
    2020-Jun
    Posts
    1

    Fixed .

    Quote Originally Posted by Thiviyan View Post
    this is the working solution now...
    i think we will not be able to login to root in gui in future by default.
    # su -c 'gedit /etc/pam.d/gdm-password'
    And but # before " auth required pam_succeed_if.so user != root quiet_success "
    reboot and login with root !

  12. #12
    Join Date
    2020-Jun
    Posts
    1

    It worked

    Quote Originally Posted by rets34 View Post
    Found the solution online right after posting this .

    Thanks it worked.
    For everyone asking what did he do, he just added a hashtag before the command making it a comment and hence it doesn't execute .

Similar Threads

  1. not being able to login as root through GUI
    By mjiz16 in forum TroubleShooting Archive
    Replies: 4
    Last Post: 2020-11-23, 07:44
  2. Auto root login - how to?
    By MaxTroy in forum General Archive
    Replies: 8
    Last Post: 2020-11-05, 15:58
  3. Root login problem
    By santhosh in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2013-04-14, 03:52

Posting Permissions

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