Results 1 to 4 of 4
Hi
Is there a way I can view the encrypted passwords
contained in the shadow file in a readable format as root on fedora?
Regards...
- 11-11-2011 #1Just Joined!
- Join Date
- Aug 2011
- Posts
- 39
etc/shadow file decryption
Hi
Is there a way I can view the encrypted passwords
contained in the shadow file in a readable format as root on fedora?
Regards
- 11-11-2011 #2
These are hashed and possibly salted strings.
The algorithm varies.
But in general: If you have file access to /etc/shadow, you can start brute force attacks on it.
That said: I wont tell how.
And in case this is about forgotten passwords: I would suggest to set new ones.You must always face the curtain with a bow.
- 11-11-2011 #3Just Joined!
- Join Date
- Nov 2011
- Posts
- 2
- 11-12-2011 #4
As Irithori pointed out above, the passwords are Hashed, not encrypted. It is not a reversible process. When you log in, Linux hashes your given credentials to see if they match the hash in /etc/shadow.
I believe that Fedora / RHEL are using sha256 now, which to find a collision (a matching hash without you knowing the original password,) would take a long time, longer than you have to live (you can see SHA-256 algorithm encryption - VBForums for 1 guys guesstimate.)
If you can provide us the end result you're looking for, maybe we can help you further, but I suspect the "just change the password" method will be best.New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4


Reply With Quote
