View Single Post
Old 01-21-2015, 11:25 AM   #21
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
Should be worth trying (since your 'root' you don't need the 'sudo'):
**Back up the passwd and shadow files first** (copy them into /var/local maybe?)
Code:
mount /dev/mmcblk0p1 /tmp/main
chroot /tmp/main
passwd root
Presuming that the passwd command is available

But you can also set 'root' in etc/passwd to not require a password with a text editor (you should have busybox vi available).

REPEAT:
I don't have this firmware version to look at, but
root:!: ..... Should be 'locked' (no shell login)
root:: ...... Should be 'no password required'
root:*: .... Should indicate encrypted password stored in etc/shadow file

Last edited by knc1; 01-21-2015 at 11:42 AM.
knc1 is offline   Reply With Quote