From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Tue, 04 May 2010 12:55:09 +0200 Subject: [U-Boot] change root password In-Reply-To: References: Message-ID: <4BDFFD0D.4020809@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.