projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6567edd
)
login: increase login name size limit from 32 to 64
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 15 Aug 2012 15:06:37 +0000
(17:06 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 15 Aug 2012 15:06:37 +0000
(17:06 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
loginutils/login.c
patch
|
blob
|
history
diff --git
a/loginutils/login.c
b/loginutils/login.c
index bf43f3aba72c9e905a630d9d8d0bf6274f340ed5..6ec8dc42e17c63067858d89ef631e75c8af024bb 100644
(file)
--- 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,
};