Package: adduser
Version: Debian 7.4
Severity: Minor

In /etc/adduser.conf, the NAME_REGEX string has an error. The $ is intended to have its normal reg ex meaning as "end of string" so it shouldn't be preceded by the '\' character.

Bug: NAME_REGEX="^[a-z][-a-z0-9_]*\$"
Fix: NAME_REGEX="^[a-z][-a-z0-9_]*$"

This is probably not noticed because NAME_REGEX is commented out in adduser.conf by default.

Submitter: Greg McPherran

Greg McPherran@CompCodeNetwork

Reply via email to