Results 1 to 10 of 10

Thread: Can not login after changing root password

Hybrid View

  1. #1
    Just burned his ISO
    Join Date
    Jul 2008
    Posts
    2

    Default Can not login after changing root password

    Hello.
    I recently installed bt3f to my harddrive and it worked like a charm, but when I change the root password from the default "toor", to something else, I am not able to login again after rebooting. I reinstalled bt after that and changed the password again, and the same problem persist. What is going on here? I was able to login with the toor password.

    Thanks for the help.

  2. #2
    Just burned his ISO
    Join Date
    Jul 2008
    Posts
    6

    Default RE: Can not login after changing root password

    I think i had this problem before, and managed to solve it!!
    how are you changing your root password?
    may be i could help. ^^
    __________________________________________________ _______________
    "Live to kill at 90MPH!"

  3. #3
    Just burned his ISO
    Join Date
    Jul 2008
    Posts
    2

    Default

    I use the passwd command in the shell

    I used passwd in the shell

  4. #4
    My life is this forum thorin's Avatar
    Join Date
    Jan 2010
    Posts
    2,629

    Default

    Boot with the CD and copy /etc/passwd and the shadow file back to the applicable places on your HD install then you'll be back to root/toor
    I'm a compulsive post editor, you might wanna wait until my post has been online for 5-10 mins before quoting it as it will likely change.

    I know I seem harsh in some of my replies. SORRY! But if you're doing something illegal or posting something that seems to be obvious BS I'm going to call you on it.

  5. #5
    Senior Member secure_it's Avatar
    Join Date
    Feb 2010
    Location
    在這兩者之間 BackTrack是4 FwdTrack4
    Posts
    854

    Question

    Quote Originally Posted by thorin View Post
    Boot with the CD and copy /etc/passwd and the shadow file back to the applicable places on your HD install then you'll be back to root/toor

    he is asking not to restore the default username/password instead his question is that after changing password he is not able to log-in.

    using command passwd enter password twice time carefully then it should show the msg Password changed.if it does not work login with default root/toor and from terminal try to change passwd after logged-in.should work.

  6. #6
    My life is this forum thorin's Avatar
    Join Date
    Jan 2010
    Posts
    2,629

    Default

    Quote Originally Posted by secure_it View Post
    he is asking not to restore the default username/password instead his question is that after changing password he is not able to log-in.
    I understand that, I was just putting the suggestion out there as a quick way for him to get back to an operational state.
    I'm a compulsive post editor, you might wanna wait until my post has been online for 5-10 mins before quoting it as it will likely change.

    I know I seem harsh in some of my replies. SORRY! But if you're doing something illegal or posting something that seems to be obvious BS I'm going to call you on it.

  7. #7
    Just burned his ISO ghostwire's Avatar
    Join Date
    Jul 2008
    Posts
    17

    Default

    Isn't there a way to use some type of text editor and find where the root password is saved and change it that way ?

  8. #8
    Senior Member
    Join Date
    Apr 2008
    Posts
    2,008

    Default

    Quote Originally Posted by ghostwire View Post
    Isn't there a way to use some type of text editor and find where the root password is saved and change it that way ?
    Sure, the root password will be stored in the shadow file which you can edit using any common text-editor. The password will however naturally not be stored in clear-text format, but in the form of a MD5 hash, so you cannot simply type in the actual new password.
    -Monkeys are like nature's humans.

Posting Permissions

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