From: Denys Vlasenko Date: Wed, 15 Aug 2012 15:06:37 +0000 (+0200) Subject: login: increase login name size limit from 32 to 64 X-Git-Tag: 1_21_0~95 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dba7094d62d699d1bd16c76c287d1e6d944970ca;p=oweals%2Fbusybox.git login: increase login name size limit from 32 to 64 Signed-off-by: Denys Vlasenko --- diff --git a/loginutils/login.c b/loginutils/login.c index bf43f3aba..6ec8dc42e 100644 --- a/loginutils/login.c +++ b/loginutils/login.c @@ -37,7 +37,8 @@ static const struct pam_conv conv = { enum { TIMEOUT = 60, EMPTY_USERNAME_COUNT = 10, - USERNAME_SIZE = 32, + /* Some users found 32 chars limit to be too low: */ + USERNAME_SIZE = 64, TTYNAME_SIZE = 32, };