Bug#722627: debian-installer: install without shadow passwords locks root account
Package: debian-installer
Version: debian-installer
Severity: normal
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
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.10-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Reply to: