View Single Post
Old 08-25-2015, 08:06 AM   #4
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by zfu View Post
- - - -
The only thing is root passwd is unknow after upgrade.

One small hack to reset passwd is add my id_rsa.pub ssh key to kindle, and edit the AutorizedKeysFile under usbnet/etc/sshd_config
AuthorizedKeysFile /mnt/us/usbnet/etc/authorized_keys

And reset passwd after ssh into kindle...
*) Old news. root password has been disallowed since 5.2.<something>

*) Not a trick or hack - the use of public key authentication is recommend in the USBnet package documents.

*) If you have pub-key auth, why do you need a password?

PS: You can also Telnet in over the USB cable, Telnet does not require a password.
knc1 is offline   Reply With Quote