[Pkg-shadow-devel] Bug#493230: manpage of adduser/useradd does not mention how long a username can be
Michelle Konzack
linux4michelle at tamay-dogan.net
Sun Sep 21 16:10:32 UTC 2008
Salut Nicolas François,
t'est français?
Sorry for the late answer but I was not @home for some weeks...
Am 2008-08-15 15:54:08, schrieb Nicolas François:
> You tried to add user, ass1234567890123456789012345678901234567890, which
> tried to create a group with the same name.
> This one has more than 32 characters.
All of the groups are 7-10 characters...
> On Debian, the limit for group names is 32 chars (I will fix the manpage).
OK<seufz>
> The naming policy is also very relaxed.
>
> With the recommended policy ([a-z_][a-z0-9_-]*[$]?), this makes something
> like 2E+50 possible usernames.
> With the Debian relaxed naming policy (^[^-:\s][^:\s]*$), this should be
> something like 5E+76 possible usernames.
But such user names are not very usefull/intuitive...
> This might be a problem if the French government want to give a name to
> each particles in the Universe (1E+80), but should still be sufficient for
> some time for human beings.
They are preparing the world domination (the USA have already lost...)
> Note: You will be limited to 2^64 (2E+19) UIDs anyway.
Shit... when do we get 2^256?
> I think the problem in on your naming policy (abc<decimal number>).
> Using hexadecimal numbers (or higher base) could some your issue.
We are using logical names for the logins...
> This was fixed on Debian in 2004. Both user and group names need to be
> less than 32 chars. I will update the manpage.
OK, thanks!
> IMHO, the restrictions come from the logging to utmp.
> If you want that restriction to be removed, you should indicate more
> clearly what you want to do. (and why the 2^64 UID limit is not the real
> restriction for your use case).
As I have written above, we are using logical names which are a little
bit longer since we need several 100.000...
No one would remember cryptical hexadecimal logins or such...
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)
-------------- 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/pkg-shadow-devel/attachments/20080921/fd7908a6/attachment.pgp
More information about the Pkg-shadow-devel
mailing list