To recover from a lost root password on a plug computer (I needed to do
this on a DreamPlug) here's what I did according to the suggestions found
here and at
http://archlinuxarm.org/forum/viewtopic.php?f=7&t=613In uboot:
setenv x_bootargs_pwrecov init=/bin/bash
Then using copy and past I brought a copy of the existing bootcmd
variable into my favorite editor (vim) and added "${x_bootargs_pwrecov};"
to the end of the list of the other bootargs so that it looks like the
following:
bootcmd=setenv ethact egiga0; ${x_bootcmd_ethernet}; setenv ethact egiga1; ${x_bootcmd_ethernet}; ${x_bootcmd_usb}; ${x_bootcmd_kernel}; setenv bootargs ${x_bootargs} ${x_bootargs_root}; ${x_bootcmd_pwrecov}; bootm 0x6400000;
Copy and paste back into uboot and boot up.
This is supposed to give you a terminal for which a password is not needed.
That didn't happen
But what did change is that now the system 'remembered' my root password.
I'm happy of course to have root control back but explanations seem lacking:-)