Bug#408148: [Adduser-devel] Bug#408148: adduser: Wrong failure
message on invalid group name.
Joerg Hoh
joerg at joerghoh.de
Tue Jan 23 22:38:04 CET 2007
On Tue, Jan 23, 2007 at 05:33:07PM -0200, Fabio Pugliese Ornellas wrote:
> Package: adduser
> Version: 3.63
> Severity: normal
>
> 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#
Marc, this anomality still exists:
--------
joerg at hydra ~ $ LANG=C sudo addgroup 'a:a'
addgroup: To avoid problems, the username should consist only of
letters, digits, underscores, periods, at signs and dashes, and not start
with
a dash (as defined by IEEE Std 1003.1-2001). For compatibility with Samba
machine accounts $ is also supported at the end of the username
joerg at hydra ~ $ LANG=C sudo 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.
joerg at hydra ~ $ LANG=C sudo addgroup --version
adduser version 3.102
Adds a user or group to the system.
-----
Joerg
--
What did you do to the cat? It looks half-dead. -Schroedinger's wife
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20070123/dda51143/attachment.pgp
More information about the Adduser-devel
mailing list