Bug#914621: adduser: please allow a leading underscore in user names again

2018-11-25 Thread Sergio Gelato
My apologies for not having notice the closely related #521883 before submitting this. They can't immediately be merged because of the severity mismatch, and the discussion in #521883 seems to have drifted somewhat. I do like the idea of having a separate NAME_REGEX for system users, although th

Bug#914621: adduser: please allow a leading underscore in user names again

2018-11-25 Thread Sergio Gelato
Package: adduser Version: 3.115 Severity: minor The current default value for NAME_REGEX is ^[a-z][-a-z0-9_]*\$ (since version 3.111 reenabled underscores in all but the leading position). Historically, adduser has allowed leading underscores from at least version 3.11.2 until version 3.77, exc