How can I recover the password to my linux server I know my username I just need password?

Posted on

Aug,03

 at

3:33 am

by

admin


How can I recover the password to my linux server I know my username I just need password? I have a Linux server and i dont know how to accsess it any help would be appreciated.

Passwords are hashed in a one-way direction; you can’t retrieve the old password. Most Linux distros will allow you to boot in a single-user mode, meaning you are given a root shell. From here, you can change the password with this command:

passwd username

substituting in the correct user name. You will be prompted to enter a new password twice. After that, just reboot.

http://www.centos.org/docs/5/html/Installation_Guide-en-US/s1-rescuemode-booting-single.html
http://www.fedorafaq.org/basics/#resetroot
http://www.debuntu.org/recover-root-password-single-user-mode-and-grub

3 Responses to “How can I recover the password to my linux server I know my username I just need password?”

  1. I would recommend trying out konboot(works great , look it up for more info & DL).

    You also should have made an alternative account via useradd account and then crypt w/ root privileges.

    Also, if you forgot the password, you could have made a backup file and reinstalled *nix on your comp . I would recommend Ubuntu or Mint mainly because they are newb-friendly.
    References :

  2. Passwords are hashed in a one-way direction; you can’t retrieve the old password. Most Linux distros will allow you to boot in a single-user mode, meaning you are given a root shell. From here, you can change the password with this command:

    passwd username

    substituting in the correct user name. You will be prompted to enter a new password twice. After that, just reboot.

    http://www.centos.org/docs/5/html/Installation_Guide-en-US/s1-rescuemode-booting-single.html
    http://www.fedorafaq.org/basics/#resetroot
    http://www.debuntu.org/recover-root-password-single-user-mode-and-grub
    References :

  3. Open your terminal via telnet or terminal and type

    passwd yourusername

    and you will then be able to change your password, it cant be shown to you only changed
    References :
    http://www.strangebutfunny.net/

Leave a Reply