[Adduser-devel] Bug#283110: adduser won't add usernames containing dots

Michelle Konzack Michelle Konzack <linux4michelle@freenet.de>, 283110@bugs.debian.org
Fri, 26 Nov 2004 19:10:54 +0100


--sBcizk6cgRZY6rnJ
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Jes=FAs,

Am 2004-11-26 18:36:21, schrieb Jes=FAs M. Navarro:
> Hi, Michelle:

> >     if ($allow_badname && $name !~ /^[A-Za-z_][-_.A-Za-z0-9]*\$?$/) {
> > ------------------------------------------------------------------------
> >                                                  ^
> >                             There is a added point
>
> I think you will have to recheck that.  Your change seems to have been lo=
st

???

> somewhere along the way:
>     if ($allow_badname && $name !~ /^[A-Za-z_][-_A-Za-z0-9]*\$?$/) {
>                                                 ^ See? No dot here

This is why I have written: "This is a added point"

I have added the "." and now all is working fine for my 57 local
$USER because they can login with "firstname.lastname".

> By the way, the last but one error message here should have to be changed=
 to
> "...Use the '--force-badname' option to allow undercores, *dots* and
> uppercase.\n".

Agreed.

Because I like this feature since years, I must change "adduser"
every time I upgrade my systems, I like to see this new feature
as standard in SARGE.

> Thanks for your interest.

Greetings
Michelle

--=20
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

--sBcizk6cgRZY6rnJ
Content-Type: application/pgp-signature; name="signature.pgp"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBp3GuC0FPBMSS+BIRAvYyAJ9RvPTAX+N5oJxYHUU+j31C8+BLZACgp2Lm
Q24jpx4NfWDB9Ndgl5t+2AQ=
=1BX5
-----END PGP SIGNATURE-----

--sBcizk6cgRZY6rnJ--