[PATCH] enforce maxlenght in usernames
Matthias Andree
mandree at FreeBSD.org
Wed Jul 27 19:39:29 UTC 2011
Am 27.07.2011 21:33, schrieb Tito:
> Hi,
> while reading man useradd on my box I stumbles across this line:
>
> Usernames may only be up to 32 characters long.
>
>
> So it seems to be a good idea to enforce this also in busybox.
> I've added the relevant code to the die_if_bad_username libb function.
> Please apply if you like it. Hints, critics and improvements are welcome.
Unfortunate mixing of mechanism (code) and policy. Doesn't belong there.
More information about the busybox
mailing list