diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2012-08-15 17:06:37 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2012-08-15 17:06:37 +0200 |
commit | dba7094d62d699d1bd16c76c287d1e6d944970ca (patch) | |
tree | d9de7ab1f275e7308feeb9c4886543f498c7d6f8 | |
parent | 6567edd10b0ebd3333f4283decd90e1d57a42885 (diff) | |
download | busybox-w32-dba7094d62d699d1bd16c76c287d1e6d944970ca.tar.gz busybox-w32-dba7094d62d699d1bd16c76c287d1e6d944970ca.tar.bz2 busybox-w32-dba7094d62d699d1bd16c76c287d1e6d944970ca.zip |
login: increase login name size limit from 32 to 64
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | loginutils/login.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 = { | |||
37 | enum { | 37 | enum { |
38 | TIMEOUT = 60, | 38 | TIMEOUT = 60, |
39 | EMPTY_USERNAME_COUNT = 10, | 39 | EMPTY_USERNAME_COUNT = 10, |
40 | USERNAME_SIZE = 32, | 40 | /* Some users found 32 chars limit to be too low: */ |
41 | USERNAME_SIZE = 64, | ||
41 | TTYNAME_SIZE = 32, | 42 | TTYNAME_SIZE = 32, |
42 | }; | 43 | }; |
43 | 44 | ||