[Adduser-devel] Bug#604242: [patch] Allow dots in username by default

Milan Bouchet-Valat nalimilan at club.fr
Sun Nov 21 11:54:35 UTC 2010


Package: adduser
Version: 3.112

I don't think there's a reason not to allow usernames to contain dots
(.), as they are also allowed to contain underscores (_) and dashes (-).
useradd accepts this.

Attached is a patch that makes dots be allowed just as other special
chars. One could also add the point in this line in /etc/adduser.conf:
#NAME_REGEX="^[a-z][-a-z0-9_]*\$"
but providing a patch for that makes the change harder to perform! ;-)


This fix would be appreciated for the gnome-system-tools, because
currently users-admin says dots are accepted, and this is false on
Debian. Saying dots are not allowed would be an issue because other
platforms allow for them, which means Debian should carry a specific
patch...

Original report in Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/gnome-system-tools/+bug/677929
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AdduserCommon.pm.diff
Type: text/x-patch
Size: 941 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20101121/ec0c6bbf/attachment.bin>


More information about the Adduser-devel mailing list