[Pkg-shadow-devel] Bug#355268: passwd: config script report errors when root user is disabled

Nicolas François nicolas.francois at centraliens.net
Sat Mar 4 18:08:20 UTC 2006


On Sat, Mar 04, 2006 at 05:00:59PM +0100, Petter Reinholdtsen wrote:
> When testing new LTSP on unstable, I came across this problem.  When
> reconfiguring passwd, the script fail because roots password is '!',
> and this value has special meaning to the test shell primitive.  The
> code need to be rewritten to cope with this.

This looks like a duplicate of #353813 (http://bugs.debian.org/353813)

> I see this problem both in version 4.0.14-4 (etch) and 4.0.14-7 (sid).

Are you sure the bug is present in 4.0.14-7? (#353813 was closed in -7
according to the changelog)

Anyway, I will add the x, because it fails with ash otherwise.

Your patch also makes root_password to return 0 when the /etc/passwd
passwd is set to ! (and it does not check if the /etc/shadow passwd is set
to !). What is it used for?

Kind Regards,

More information about the Pkg-shadow-devel mailing list