Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-28-2012, 02:31 AM   #1
aditya3098
Guru
aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.
 
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
Unable to change the password

Hi,
I recently changed the /etc/passwd file so that the new default shell is /bin/bash. After doing this, I am unable to logon to my kindle via ssh due to authentication failure. I tried Resetting to factory defaults and reinstalled everything but is still doesn't work. The ;un password <password> is not working. Anyone know how to fix this.
aditya3098 is offline   Reply With Quote
Old 01-28-2012, 07:13 AM   #2
hostar
Zealot
hostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of light
 
Posts: 138
Karma: 12324
Join Date: Dec 2011
Location: CZ
Device: Kindle 4 non-touch
I can think of two possibly solutions:

First: try to login as framework:mario and then edit passwd back. Problem is, you will not probably able to save it because of non-root. Then you can, when logged as framework, try to "su root" and try to login as root.
If it will not work, see second idea.

Second: make own OTA2 update package with kindletool, which rewrite passwd.

Better also wait for other opinions, I might be wrong.

EDIT: If you have launcher installed, maybe over launcher you can run some fixing script.

Last edited by hostar; 01-28-2012 at 07:22 AM.
hostar is offline   Reply With Quote
Advert
Old 01-28-2012, 08:29 AM   #3
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Please supply information which Kindle model you are talking about.

UPDATE: Just figured out from your user info that you're probably talking about Kindle Touch. You can use the information from https://wiki.mobileread.com/wiki/Kind...ing#Unbricking. Create a RUNME.sh which overwrites /etc/passwd and /etc/shadow. For convenience, here is the content of those files on my device:
Code:
[root@kindle root]# cat /etc/passwd 
root:x:0:0:root:/tmp/root:/bin/sh
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:100:sync:/bin:/bin/sync
operator:x:37:37:Operator:/var:/bin/sh
sshd:x:103:99:Operator:/var:/bin/sh
messagebus:x:92:92:messagebus:/bin/false
nobody:x:99:99:nobody:/tmp:/bin/sh
default:x:1000:1000:Default non-root user:/dev/null:/bin/sh
framework:x:9000:150:Framework User:/tmp/framework:/bin/sh
[root@kindle root]# cat /etc/shadow
root:$1$YoJvctxx$3HQY0NvBINFwIqVPB6Z371:15332:0:99999:7:::
daemon:*:10933:0:99999:7:::
bin:*:10933:0:99999:7:::
sys:*:10933:0:99999:7:::
sync:*:10933:0:99999:7:::
operator:*:10933:0:99999:7:::
sshd:*:10933:0:99999:7:::
messagebus:*:10933:0:99999:7:::
nobody:*:10933:0:99999:7:::
default::10933:0:99999:7:::
framework:$1$Cewr2/zS$SnxBS8yTMZeIgf/Tk//Xo/:14033:0:99999:7:::
The root password is "touch".

Last edited by ixtab; 01-28-2012 at 03:31 PM.
ixtab is offline   Reply With Quote
Old 01-29-2012, 02:18 AM   #4
aditya3098
Guru
aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.
 
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
Will try
aditya3098 is offline   Reply With Quote
Old 01-29-2012, 02:37 AM   #5
aditya3098
Guru
aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.
 
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
Works
Thanks

Last edited by aditya3098; 01-29-2012 at 02:46 AM.
aditya3098 is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Guttenberg eBooks - Unable to change COVER with Calibre 0.8.32 jojozep2005 Amazon Kindle 5 12-24-2011 12:44 PM
Yahoo Email Password Change msbookworm Barnes & Noble NOOK 2 06-18-2011 02:34 PM
Unable to change language settingd CSI_Basel Sony Reader 6 06-22-2010 09:34 AM
trac stuck in change password pcfe Calibre 6 11-16-2009 07:15 AM
iLiad dropbear ssh: how to change root password? daudi iRex Developer's Corner 2 01-10-2008 04:49 PM


All times are GMT -4. The time now is 12:35 PM.


MobileRead.com is a privately owned, operated and funded community.