[Adduser-devel] Bug#520586: adduser: underscore disallowed in usernames again

Steve Langasek steve.langasek at canonical.com
Sat Mar 21 05:04:03 UTC 2009

Package: adduser
Version: 3.110
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch jaunty

It was recently reported to Ubuntu that adduser doesn't support underscores
in usernames.

This appears to be an accidental regression introduced when refactoring the
code out into AdduserCommon.pm, since the last previous mention of
underscores in the changelog is this:

  adduser (3.63) unstable; urgency=low

    * allow underscores again. Bug in the regexp. Thanks to Steve

   -- Marc Haber <mh+debian-packages at zugschlus.de>  Thu, 04 Mar 2005 06:38:22 +0000

Attached is a patch to restore this behavior.

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adduser-regex-regression.patch
Type: text/x-diff
Size: 1563 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20090320/c4d48b51/attachment.patch 

More information about the Adduser-devel mailing list