[Adduser-devel] Bug#521883: adduser: Please accept underscore prefixed system names

Guillem Jover guillem at debian.org
Sun Oct 23 13:52:57 UTC 2016

Control: tags -1 patch
Control: retitle -1 adduser: Please accept underscore prefixed system names


On Mon, 2009-03-30 at 20:07:59 +0200, Christophe wrote:
> When prompted for the login of the first user, a check is performed
> to ensure it is valid.
> However, the character '_' (underscore) is rejected.
> Is it thinkable to have it accepted?

I've implemented a new SYS_NAME_REGEX so that at least system names
can accept _-prefixed values. This is the standard used on various
BSDs, it is vendor neutral (not just a Debianism), and it is short
causing way less display problems.

I don't think accepting _-prefixed names for normal users would be
wise, as that would remove the namespaced disctinction.

Having this in the archive would allow us to promote these system
names, and use them w/o needing the --force-badname option!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-adduser-Add-support-for-new-SYS_NAME_REGEX.patch
Type: text/x-diff
Size: 9329 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20161023/1df2d951/attachment.patch>

More information about the Adduser-devel mailing list