Michelle Konzack
2008-Jul-30  23:32 UTC
Bug#493230: manpage of adduser/useradd does not mention how long a username can be
Package: adduser
Version: 3.102
Severity: wishlist
Hello Maintainer,
Today @customer I had to create several 10.000 users from a  script  and
it seems, I have hit the limits with the length  of  the  username.  The
customer need usernames of up to 40 characters...
Tonight I have tried some things on my own Etch server @home and I  have
the same resultat...  But, my NetBSD-Box let me allow longer names.
Searching the manpages, info and other documentation results in nothing.
Using LDAP and other tools,  allow  me  to  set  LOGIN  longer  then  32
characters.
I think, the manpage should mention, that the  LOGIN  name  can  not  be
longer then 32 characters if "useradd" is used.
Since "ssh" and "login" allow LOGIN with much longer names,
please allow
LOGIN with more then 32 characters.  Increasing it to 64 would be fine.
Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant
-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)
_______________________________________________
Adduser-devel mailing list
Adduser-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/adduser-devel
Stephen Gran
2008-Aug-01  20:53 UTC
[Adduser-devel] Bug#493230: Bug#493230: manpage of adduser/useradd does not mention how long a username can be
reassign 493230 passwd thanks This one time, at band camp, Michelle Konzack said:> Hello Maintainer, > > Today @customer I had to create several 10.000 users from a script and > it seems, I have hit the limits with the length of the username. The > customer need usernames of up to 40 characters... > > Tonight I have tried some things on my own Etch server @home and I have > the same resultat... But, my NetBSD-Box let me allow longer names. > > Searching the manpages, info and other documentation results in nothing. > > Using LDAP and other tools, allow me to set LOGIN longer then 32 > characters. > > I think, the manpage should mention, that the LOGIN name can not be > longer then 32 characters if "useradd" is used. > > Since "ssh" and "login" allow LOGIN with much longer names, please allow > LOGIN with more then 32 characters. Increasing it to 64 would be fine.steve at spartacus:~$ sudo adduser ass1234567890123456789012345678901234567890 Adding user `ass1234567890123456789012345678901234567890'' ... Adding new group `ass1234567890123456789012345678901234567890'' (1004) ... groupadd: ass1234567890123456789012345678901234567890 is not a valid group name adduser: `/usr/sbin/groupadd -g 1004 ass1234567890123456789012345678901234567890'' returned error code 3. Exiting. steve at spartacus:~$ man groupadd | grep Groupnames Groupnames must begin with a lower case letter or an underscore, and Groupnames may only be up to 16 characters long. I''m reassigning to passwd since that''s what''s refusing to add the group (which you might have noticed had you read the output, but oh well). -- ----------------------------------------------------------------- | ,''''`. Stephen Gran | | : :'' : sgran at debian.org | | `. `'' Debian user, admin, and developer | | `- http://www.debian.org | ----------------------------------------------------------------- -------------- 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/20080801/b41c7d44/attachment.pgp
Debian Bug Tracking System
2008-Aug-01  20:54 UTC
[Adduser-devel] Processed: Re: Bug#493230: manpage of adduser/useradd does not mention how long a username can be
Processing commands for control at bugs.debian.org:> reassign 493230 passwdBug#493230: manpage of adduser/useradd does not mention how long a username can be Bug reassigned from package `adduser'' to `passwd''.> thanksStopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)