06-18-2012, 09:09 AM
|
#43
|
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Originally Posted by NiLuJe
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
|
Two points:
- Obviously written in or by a WinCE shop.
- It updates "main" with the current copy of "diags" passwords.
|
|
|