On 2012/04/04 15:34, Bjvrn Ketelaars wrote:
> 2012/4/3 Theo de Raadt <[email protected]>:
> > Hmm, I'd like to see that refactored somehow.
> >
> > Also, '-' should not be legal at the start of a login name.  There
> > are things that care.  I think at the end it is OK, though.
> >
> > Crazy eh.  Isn't there something else in libc that checks this?
>
> New diff:

Why doesn't login_yubikey just use getpwnam() to check if the
user exists like the other login_* mechs?

Reply via email to