#722627 debian-installer: install without shadow passwords locks root account

#722627#5
Date:
2013-09-12 21:26:25 UTC
From:
To:
Hi there,

I needed to install a system without shadow passwords to test another bug.  I
installed a couple of times, using both stable and testing installers in expert
mode each time.  Every time I selected to NOT use shadow passwords, to allow
login as root, and to not create any other users.  I typed in a root password
as normal, and the installation proceeded as I expected.  However, when I came
to boot the machine, I received 'Login incorrect' at the console.

After I booted into rescue mode, I received the message "sulogin: root account
is locked".  Entering /etc/passwd, there was no hash value for the root account.
After I set a password for root using 'passwd root' in recovery mode, I was able
to log in without any problem.

Both stable (wheezy) and recent testing installers showed the same behaviour.  I
have never seen an issue like this on the same system when installing with
shadow passwords enabled.

Cheers,
Dave