Recover the linux Password-general Linux technology-Linux technology and application information. For more information, see the following section. You just forgot a password. You can use this method to crack the/etc/shadow file encrypted by md5 (the password is here, the username is plaintext, And the password is encrypted ).
Install john
Sudo apt-get install john
Execute the decryption program
Sudo john/etc/shadow
View execution results
Sudo john-show/etc/shadow
It is a brute-force cracking method. First, try the username combination, and then try the built-in password dictionary.
My cracking test failed. It seems that my password is still relatively safe, or it may be because of a foreign password dictionary, which does not conform to the thinking logic of the Chinese people.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service