View Single Post
Old 06-18-2012, 09:09 AM   #43
knc1
\_(ツ)_/ <- Clueless
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: 11,591
Karma: 12109345
Join Date: Feb 2012
Location: Central Texas
Device: Nothing KV or newer, not interested.
Quote:
Originally Posted by NiLuJe View Post
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.
knc1 is online now   Reply With Quote