enforce maxlength in usernames

Matthias Andree mandree at FreeBSD.org
Thu Jul 28 20:37:47 UTC 2011


Am 28.07.2011 14:12, schrieb Tito:

> OK, I see. One more try. Eventually we could substitute LOGIN_NAME_MAX
> with 64 as suggested or with 32 as in man useradd. Hints
> for a better error message are welcome.

man useradd is irrelevant, as would the higher-level man adduser be.
These are nonstandard utilities as far as POSIX is concerned, and would
either only relay system limits here, or impose their own arbitrary
limits. Neither is authoritative for busybox.


More information about the busybox mailing list