Public bug reported:

nightly jaunty mirror, user-setup=1.23ubuntu14

No root password is set when preseeding with the following relevant values:
d-i passwd/root-login boolean true
d-i passwd/root-password-crypted password SHA512PASSWORD
d-i passwd/make-user boolean false

Initial tests were done with an MD5 password as well.

It appears that root_password() in functions.sh of user-setup considers
a shadow password of '!' to be set. This causes the if block at line 165
of user-setup-apply in r454 of user-setup to fail and thus the password
isn't set.

I would speculate that in the past the root password was blank in
shadow, pwconv should be leaving it that way. This would be why user-
setup-ask sets root-password-crypted to "!" of passwd/root-login is
false. Thus perhaps something else is setting root's password to "!"
before user-setup is run, so I don't know what specific package to file
this against yet.

** Affects: debian-installer (Ubuntu)
     Importance: Undecided
         Status: New

-- 
passwd/root-password-crypted not being honored
https://bugs.launchpad.net/bugs/340841
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to