View Single Post
Old 06-18-2012, 09:06 AM   #42
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: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by NiLuJe View Post
K4 updates tend to do something funny with the shadow passwords, either resetting it from the one in diags or vice versa, can't ever remember which partition is what...

Code:
eval unset _dpinit && if mount | grep -q mmcblk0p2 ; then umount /dev/mmcblk0p2 ; fi && mkdir -p .b1 && mount -t ext3 /dev/mmcblk0p2 .b1 && cp /etc/shadow .b1/etc/shadow && sync && umount .b1 && rmdir .b1
On the K4s I bought from amazon one came with firmware 4.0.1 and password mario, but the next bought a couple of months later came with older 4.0.0 firmware with password fionaXXX. In both cases, the diags password was fionaXXX. When I bricked my 4.0.1 kindle, I recovered it by copying the firmware from my 4.0.0 kindle (including the shadow file with mario root pw). Doing upgrades did not change the password. As shipped both kindles had fionaXXX diags passwords.

Your script snippet above would explain the change from mario to fionaXXX (3 hex-digit DES password hash) described in this thread, but it did not seem to trigger when I applied the update to my kindles.

All of these posts about fionaXXXX (4 hex digits) default root passwords are not correct, not helpful, and only add to the confusion. You can verify that the root password is DES (with an 8 character limit) by inspecting the shadow file.

Of course if you CHANGE the root password to fionaXXXX (4 hex digits) then it gets a salted MD5 hash, and it is no longer a DEFAULT root password.

EDIT: It would be nice if the "kindle password" web page was corrected to not add to the "fionaXXXX confusion".

Last edited by geekmaster; 06-21-2012 at 07:35 AM.
geekmaster is offline   Reply With Quote