View Single Post
Old 06-21-2012, 07:40 AM   #48
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by poomex View Post
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.

Last edited by geekmaster; 06-23-2012 at 04:47 AM.
geekmaster is offline   Reply With Quote