DragonFly kernel List (threaded) for 2003-08
Re: Usernames > 16 characters
Matthew Dillon wrote:
:Any chance Dragonfly will handle usernames > 16 characters? Or is this
:something that many people feel should be done with something like PAM?
Well, you have to ask yourself "larger then 16 characters for what
purpose" ? If for email purposes then the appropriate avenue is to
create mail aliases, for example. An account name as an operating
system tracked entity should not have an unbounded size, otherwise
it becomes too ungainly to administer and report on (in logs and so
That said, it is obvious that 8 was too small and so it was bumped up
to 16. The question is would it be reasonable to bump it up to, say,
32? I can't imagine making it larger then 32 but I can see some valid
arguments to going from 16 to 32 and perhaps bumping up the hostname
field in utmp.h at the same time.
the Whistle interjet (FreeBSD 2.x, 3.x and 4.x)
used 32 byte usernames so that they could be the same as Windows and MacOS.
(I forget the limits they had but 16 was too small)
We only used a small subset of UNIX bet we had no problems in th parts we used..
Some recent names sitting in my inbox:
1 2 3
Matthew_Dillon | |
Eric_J_Chet | |
Julian_Elischer | |
Kent_Ibbetson | |
Sander_Vesik | |
Hiten_Pandya | |
M_Warner_Losh | |
So there's a good argument for going to 32.