Re: Bug#636219: How can we quote # in a value passed to debconf-set-selections?
>> In the case of Debian Edu configuration scripts, this bug meant
>> that a password containing a # character would be truncated
> AFAIK, a crypted password string will not contain a `#`.
> Also, d-i's password preseeding does not involve debconf's version
> of debconf-set-selections.
See #664976 for the details of the Debian Edu problem. Clear text
passwords are passed from d-i to /target/ using
debconf-set-selections, and breaking for passwords like '*#secret'.