[U-Boot] change root password

Albert ARIBAUD albert.aribaud at free.fr
Tue May 4 12:55:09 CEST 2010


Le 04/05/2010 12:48, Nuno Cardoso a écrit :
> hi,
>
> How can I change root password??
>
> I try this:
>
> 1) stop u-boot and add "init=/bin/sh" to the bootargs variable;
> 2) boot
> 3) passwd -d root (inside shell)
>
>
> but this doesn't work!!!! When I reboot the machine, I cannot login with a
> new password.
>
> Thanks,
> Nuno Cardoso.

This is not a U-boot issue; this is an issue with the operating system 
(at large) to which U-boot transfers control. If you are the designer of 
the OS, then you're basically the boss and you should check why your 
permanent storage does not keep the new password; if you use a 
predesigned OS, turn to the designers for assistance.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list