How can I recover the password to my linux server I know my username I just need password?
Aug,03
at3:33 am
byadmin
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
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 :
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 :
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/