Suggestion: increate username buffer size in login.c
Dmitry Golubovsky
golubovsky at gmail.com
Wed Aug 15 00:58:07 UTC 2012
Hi,
On Tue, Aug 14, 2012 at 7:43 PM, Laurent Bercot
<ska-dietlibc at skarnet.org> wrote:
>> Thanks for your response. What I am doing has little to do with the
>> "traditional mechanism" described in the Unix spec.
>
> Which is why you simply can't rely on using an out-of-the-box Unix
> "login" program. You need a specific utility - extremely close to a
> standard "login", but not quite a standard "login".
Well, all the login program does is basically calls PAM in proper
sequence; it is just a wrapper.
Tito of course has a valid point of adherence to the specs.
>> PAM can do this all very well. I thought I could just reuse the
>> existing login program, just with longer username buffer.
>
> You can. Just patch busybox the way you suggested and use the patched
> version in your software. :)
That's what I am going to do ;)
Thanks.
--
Dmitry Golubovsky
Anywhere on the Web
More information about the busybox
mailing list