Quote:
Originally Posted by poomex
You are right - 8 characters fionaXXX password from webpage works.
I used the 4.1.0 update file posted by Amazon.
The content of shadow: http://pastebin.com/kE8ggCQQ
|
If you look at the shadow file at the link you posted, you can see that the framework password is an MD5 has because it starts with |$1$|, but the root password is a DES hash because it does not start with "$". DES only uses the first 8 characters of your password.
You can edit those shadow files, and replace the hash strings from another shadow file. That is how I changed the standard (serial-number depended) fionaXXX password in diags_ssh (by copying it from a K4 "mario" shadow file into the K5 diags shadow file. I thought it important that diags_ssh not use somebody ELSES fionaXXX password, and "mario" was a good choice. Using the passwd command to change it would have changed it to an MD5 hash, and I wanted to keep the original DES hash, so I just copied the hash instead.