On Wednesday 02 Nov 2005 21:18, Christian Perrier wrote: > Quoting Paul Millar (paul@astro.gla.ac.uk): > > On the off-chance that there was two files "value" and "set", I tried > > preseeding with crypt password set to \\\*, but this didn't fix the > > problem :^/ > > Well, "value set" is the traditionnal value of $RET after setting a > debconf value.... Err, so sorry for missing something here, but isn't ROOT_PW="$RET" then wrong, as it will be "value set" irrespective of what value the user chose to preseed? > I spotted two errors in passwd.config: > > - $RET not quoted properly in one line. This is probably the cause of > your problem Yup, certainly one of the problems, but isn't there another one? Escaping the * (as \*) got around the non-quoting problem, but somehow the wrong value ended up in /etc/shadow. Escaping it twice (\\\*) didn't help. [...] > Both will be fixed in a future version of shadow. Cool. Give me a shout when its out, please. > You can try the first fix by changing line 161 in > /target/var/lib/dpkg/info/passwd.config at the end of first stage and > put quotes around $RET there: > > ROOT_PW="$RET" OK. I'm happy to test this out, but could you give me some (moderately) detailed list of steps to build a suitable deb package and how to shoe-horn it into the install process (sorry, I'm new to Debian development). For testing it, would shoehorn-ing the test shadow deb inside the initrd image work? I'm mirroring Debian locally off of a UK mirror, but I guess I'd have to muck about with MD5 sums to trick the installer to use a test deb, right? (BTW, we can take this off of the list, if this is too much like noise). Cheers, Paul.
Attachment:
pgpkWq00x0WVa.pgp
Description: PGP signature