[git commit] login: increase login name size limit from 32 to 64

Denys Vlasenko vda.linux at googlemail.com
Wed Aug 15 15:06:37 UTC 2012


commit: http://git.busybox.net/busybox/commit/?id=dba7094d62d699d1bd16c76c287d1e6d944970ca
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 loginutils/login.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/loginutils/login.c b/loginutils/login.c
index bf43f3a..6ec8dc4 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,
 };
 


More information about the busybox-cvs mailing list