Hi,

There is currently in loginutils/login.c, line 37

enum {
        TIMEOUT = 60,
        EMPTY_USERNAME_COUNT = 10,
        USERNAME_SIZE = 32,
        TTYNAME_SIZE = 32,
};

May I suggest increase USERNAME_SIZE to 256 at least? I may send a
patch, or due to trivial nature of the change someone of the
maintainers could just do it.

My rationale is: if I want to use busybox login together with PAM
involving authentication against some remote host or domain 32
characters may be just insufficient to hold something like
[email protected] (already 36 characters).

Where did the 32 char limit come from?

Thanks.

-- 
Dmitry Golubovsky

Anywhere on the Web
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to