[Adduser-devel] Bug#493230: Bug#493230: manpage of adduser/useradd does not mention how long a username can be
Stephen Gran
sgran at debian.org
Fri Aug 1 20:53:38 UTC 2008
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
More information about the Adduser-devel
mailing list