[Pkg-shadow-devel] Bug#393046: Please install passwd in /bin also

Nicolas François nicolas.francois at centraliens.net
Sat Oct 14 21:18:36 UTC 2006


On Sat, Oct 14, 2006 at 09:20:24PM +0100, Paul LeoNerd Evans wrote:
> On Sat, Oct 14, 2006 at 09:20:54PM +0200, Nicolas François wrote:
> > Why do you need passwd when "linux init=/bin/sh"?
> > Are you using "linux init=/bin/sh" to reset users' passwords?
> 
> Not users' passwords, no.. The root password.
> 
> If you don't know / have forgotten the root password for a Linux box,
> init=/bin/sh is about the only way to fix it.

In that case, I recommend, just resetting the password (edit /etc/shadow,
and set the root line to: 'root::1:0:99999:7:::') with an editor. There is
an editor in /bin (at least ed).

/bin should be kept as small as possible.

PS: please, keep the bug report cc'ed

Kind Regards,
-- 
Nekral




More information about the Pkg-shadow-devel mailing list