password is not recognizing spaces

Bug #37934 reported by z_diver
6
Affects Status Importance Assigned to Milestone
debconf (Ubuntu)
Fix Released
Medium
Colin Watson
ubiquity (Ubuntu)
Fix Released
Medium
Colin Watson

Bug Description

On a Dapper Flight 6 Live CD I ran an espresso install using the default selections throughout. The first character for the user's password was a space.

After rebooting the system I was unable to log in with that password. If I type the password without the space I was able to log in.

This must have to do with espresso because I have verified that the regular installer works fine with spaces(at least in Flight 5 and 6).

Steps to reproduce error:
1. Boot from Flight 6 Live CD
2. Run Espresso Install
3. When asked for a password enter a space as the first character
4. Reboot the comptuer and try to log in, first with, then without the space.

Revision history for this message
Colin Watson (cjwatson) wrote :

There are at least two parts to this bug. Firstly, debconf.py eats trailing spaces. Secondly, ubiquity needs to use the escape capability when sending passwords to debconf, in order to preserve whitespace.

Changed in debconf:
assignee: nobody → kamion
status: Unconfirmed → Confirmed
Changed in ubiquity:
status: Unconfirmed → Confirmed
assignee: nobody → kamion
Revision history for this message
Colin Watson (cjwatson) wrote :

This fixes the debconf part of the bug.

debconf (1.4.72ubuntu3) dapper; urgency=low

  * Backport from trunk (closes: Malone #37934):
    - Strip only trailing newlines from replies in the Python confmodule,
      rather than all leading and trailing whitespace.

 -- Colin Watson <email address hidden> Fri, 28 Apr 2006 13:35:42 +0100

Changed in debconf:
status: Confirmed → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

ubiquity (0.99.70) dapper; urgency=low

  [ Colin Watson ]
  * Ignore errors from locale.setlocale() in timezone component too (closes:
    Malone #41846).
  * Account for preseeding changes in partman-auto 45ubuntu10.
  * Escape passwords when sending them to debconf (closes: Malone #37934).
    Requires debconf (>= 1.4.72) and won't work with cdebconf yet.
  * Automatic update of included source packages: debian-installer-utils
    1.22ubuntu8, partman-auto 45ubuntu10.

  [ Jonathan Riddell ]
  * KDE Frontend:
    - Order methods to match gtkui
    - Some fixes to crashdialogue
    - Don't show blank choices in set_disk_choices
    - Delay auto-partitioning until after final step

 -- Colin Watson <email address hidden> Fri, 28 Apr 2006 21:24:16 +0100

Changed in ubiquity:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.