|
|
#1 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jan 2012
Device: Kindle 4
|
How to recover my Kindle root password?
![]() Thanks in advance! |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,044
Karma: 1889878
Join Date: Apr 2009
Location: USA
Device: iPod Touch, Nook STR, Xoom, Kindle Touch, PW & Fire, Sony PRS-T1, iPad
|
Call Amazon CS. Recovery will probably require resetting the device, and re-loading your content.
|
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 214
Karma: 82666
Join Date: May 2011
Device: Kobo Glo
|
Did you change it from the default one?
|
|
|
|
|
|
#4 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jan 2012
Device: Kindle 4
|
No.First, I changed root password from the default one that is mario.In this case I can login in USB Net mode using new root password, but I can not login in SSH using the same password.Then I stupidly upgrade the firmware to 4.0.1.Now I can not login in USB Net mode and of course in SSH
![]() BTW, Both the password generate by the Python script and the password Changed by myself dont work. Last edited by recoco; 01-08-2012 at 08:05 AM. |
|
|
|
|
|
#5 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 26
Karma: 3060
Join Date: Dec 2011
Device: kindle 4
|
You could try the NFS hack mentioned here to run a script which would change the password (or install an ssh public key to allow password less logins): http://www.mobileread.com/forums/sho...&postcount=216
This is a bit complex to execute but it doesn't require working ssh access. Edit: I've found an easier solution which doesn't require ssh access: http://www.mobileread.com/forums/sho...40#post1915440 Last edited by dionoea; 01-08-2012 at 12:46 PM. |
|
|
|
|
|
#6 |
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,023
Karma: 6352591
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
There is a simpler way. Just login as user framework and password mario. Then change your root password.
I just cracked it (again) with john to verify it. Then I successfully tested it using SSH over wifi to my K4NT: ssh framework@<K4NT.wifi.ip.addr> Use password mario. If SSH was not working I would use the tar exploit, but in this case SSH does work so I would recommend the simpler way shown above. UPDATE: login user = framework, password = mario confirmed working on the following Kindle models: DX - Kindle DX DXG - Kindle DX Graphite K3 - Kindle 3 K4NT - Kindle 4 (Non Touch) KT - Kindle Touch Somebody please test this login password on these models and report back here: K1 - Kindle 1 K2 - Kindle 2 It looks like we have a universal login. ![]() Last edited by geekmaster; 01-08-2012 at 03:46 PM. |
|
|
|
|
|
#7 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jan 2012
Device: Kindle 4
|
@geekmaster, great!
![]() I'll try it.My kindle firmware is 4.0.1. update: Wow!It works on K4(NT) 4.0.1. Last edited by recoco; 01-08-2012 at 08:52 PM. |
|
|
|
|
|
#8 | |
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,023
Karma: 6352591
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
Quote:
A better way in your case is to put ENABLE_DIAGS on the USB Drive and reboot, then in diags, follow the instructions for installing developer mode, but instead of adding files to /usr/local, you want to fix your root password in /etc/shadow. Last edited by geekmaster; 01-08-2012 at 11:21 PM. |
|
|
|
|
|
|
#9 | |
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,023
Karma: 6352591
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
After some questions appeared in the irc channel about this, I did a test on my touch.
While logged in as user framework: ssh framework@192.168.15.244 I was able to see the contents of /etc/shadow: cat /etc/shadow Only the root and framework accounts had a string of "random" password characters in them. The easy way to copy this file out so it can be cracked with john is through the clipboard. Copy what you see on the screen after the "cat" command. Then paste it in a file on the host PC, save it, and crack it with "John the Ripper". The whole reason for this thread was the the original poster changed the root password and forgot what it was. So, here are two solutions: On k4nt only, boot from diags and start ssh, login as root, and fix or copy and crack /etc/shadow. On any kindle, login as user framework with password mario, cat and copy /etc/shadow to the clipboard, then on the host PC paste the clipboard to a file, save it, and crack it. Then you will know your forgotten root password. Or it would be simple to edit shadow and copy the hashed password from diags root to main root. Whatever you want, you know? You have the power! ![]() Quote:
Code:
01:15 < dionoea> and permissions were more what I was worried about.
/etc/shadow is usually only readable by the shadow group
and writable by the root user
01:17 < geekmstr> dionoea : framework has read-only access. That would
let you copy shadow and use john to crack it.
01:17 < geekmstr> on any kindle.
01:18 < dionoea> and the framework user has sufficient rights to read
/etc/shadow?
ssh framework@192.168.15.244 I was able to see the contents of /etc/shadow: cat /etc/shadow Only the root and framework accounts had a string of "random" password characters in them. The easy way to copy this file out so it can be cracked with john is through the clipboard. Copy what you see on the screen after the "cat" command. Then paste it in a file on the host PC, save it, and crack it with "John the Ripper". The whole reason for this thread was the the original poster changed the root password and forgot what it was. So, two solutions: On k4nt only, boot from diags and start ssh, login as root, and fix or copy and crack /etc/shadow. On any kindle, login as user framework with password mario, cat and copy /etc/shadow to the clipboard, then on the host PC paste the clipboard to a file, save it, and crack it. Then you will know your forgotten root password. Or it would be simple to edit shadow and copy the hashed password from diags root to main root. Whatever you want, you know? You have the power! ![]() P.S. I posted similar content in another thread, because it "needed it", you know?
Last edited by geekmaster; 01-09-2012 at 03:36 AM. |
|
|
|
|
|
|
#10 |
|
Member
![]() Posts: 12
Karma: 10
Join Date: Jan 2012
Device: kindle 5
|
Hi, I think I have a similar problem. I set up my password using ;un password "PASSWORD_HERE" and after that i lost all my permissions to cut or paste files to my kindle.
I'm using ubuntu and this happened while I was trying to complete the screensaver hack, more precisely when I tried to unrar the xterm extension. Permission denied. Any help? thanks! |
|
|
|
|
|
#11 | |
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,023
Karma: 6352591
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
Quote:
__________________
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
![]() |
|
|
|
|
|
|
#12 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 47
Karma: 12694
Join Date: May 2012
Device: Kindle Keyboard Wifi
|
Setup ssh to login with private key then typein passwd root and set a password thats how i setup my kindle keyboard root account
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tools fiona root password wordlist | geekmaster | Kindle Developer's Corner | 7 | 12-11-2011 10:42 AM |
| password req to root the edge | littleal | enTourage eDGe | 3 | 06-27-2011 01:34 AM |
| Calibre on linux: root password for unmounting? | mhomann | Devices | 14 | 02-05-2011 11:26 AM |
| iLiad dropbear ssh: how to change root password? | daudi | iRex Developer's Corner | 2 | 01-10-2008 04:49 PM |
| iLiad Thoughts on 2.5 and root password | TadW | iRex Developer's Corner | 16 | 07-26-2006 03:37 AM |