Cannot add user name with hyphen during Ubuntu install

Bug #21936 reported by Eric Nichols
6
Affects Status Importance Assigned to Milestone
shadow (Ubuntu)
Fix Released
Medium
Colin Watson

Bug Description

During installation under both Hoary and the latest Breezy DVDs, I get an error
if I try to add a user name with a hyphen in it (e.g. "eric-n"). It allows me to
enter the user's "Real name", the user name and the password, but after entering
the password and attempting to move to the next stage of installation, I get an
error name stating that the user name I entered is invalid. My workaround for now
is to rename the user after installation, but this is a pain. Surely the installer
should be able to handle hyphenated user names.

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

Yes, I agree. This syncs passwd.config's idea of valid usernames with adduser's:

shadow (1:4.0.3-37ubuntu3) breezy; urgency=low

  * Allow usernames containing hyphens (closes: Ubuntu #15721).

 -- Colin Watson <email address hidden> Tue, 20 Sep 2005 16:58:59 +0100

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.