is there any way to find out the user id and password on a linux pc or live cd without actually logging in?

You are currently browsing comments. If you would like to return to the full story, you can read the full entry here: “is there any way to find out the user id and password on a linux pc or live cd without actually logging in?”.

2 Responses to is there any way to find out the user id and password on a linux pc or live cd without actually logging in?

  1. The linux passwords are stored irreversibly in hashes (you can’t retrieve the password from existing data). All you can do is two things:

    1. Run a brute force attack to try and recover the root passwd from /etc/passwd file.

    2. Burn a new CD with other than default passwd (and this time write it down on something other than toilet paper).

    I suggest the latter, since it’s faster. However, the first method could give you an insight on how great hackers work.

    All the best.

    Report Spam/Abuse

  2. It sounds like you may have installed in OEM mode. Have you tried OEM as the user name with the password you created?

    If that doesn’t work, boot into recovery mode (its an option from the GRUB menu) and then type this;

    cd /home
    ls

    That will show you any user accounts on the system, If you see your user account there, (or OEM), and the password you made still wont work / cant be remembered……
    Boot back into recovery mode from GRUB menu and at the prompt, change the password for that user, john (assuming john is the username…)

    passwd john

    Or you can reset it this way as well.
    Boot back into recovery mode and add another administrative user account;

    adduser “WHATEVER_NAME_YOU_WANT”
    adduser “NEW_NAME_YOU_JUST_MADE_UP” admin
    reboot

    This will add a new administrative user, with whatever user name you entered in the step above. This user will be fully privileged, and can delete the original user account , thats not working.

    That should fix the problem : )

    Report Spam/Abuse

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spam Protection by WP-SpamFree