Bug#408148: [Adduser-devel] Bug#408148: adduser: Wrong failure message on invalid group name.

Marc Haber mh+debian-packages at zugschlus.de
Tue Jan 23 22:14:49 CET 2007


On Tue, Jan 23, 2007 at 05:33:07PM -0200, Fabio Pugliese Ornellas wrote:
> I can not explain how the following can happen:
> 
> root at ampere:/var/lib/cvs# addgroup 'a:a'
> addgroup: To avoid problems, the username should consist of
> letters, digits, underscores, periods and dashes. For compatibility with
> Samba machine accounts $ is also supported at the end of the username
> root at ampere:/var/lib/cvs# addgroup 'a_a'
> addgroup: Please enter a username matching the regular expression
> configured
> via the name_regex configuration variable.  Use the `--force-badname'
> option to relax this check or reconfigure name_regex.
> root at ampere:/var/lib/cvs#

The code regarding account name validation has been completely
re-worked since the sarge release. I suspect this has been fixed since
then.

A group name with : is unlikely to work in a traditional /etc/group
setup.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835




More information about the Adduser-devel mailing list