login: increase login name size limit from 32 to 64

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2012-08-15 17:06:37 +02:00
parent 6567edd10b
commit dba7094d62

View File

@ -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,
};