lkml.org 
[lkml]   [2000]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: User authentication from the kernel
Date
From
> Imagine a card that implements PPP in its own firmware (i.e. it doesn't
> use pppd), and this firmware talks to a driver in the kernel. How can this
> card do user authentication??

The driver needs to talk to a pppauthd of some sort I suspect. Auth certainly
has to be done via user space.

> Is it possible?? Is there any driver that already does it?? What's the
> infrastructure (if any) that the driver should use in order to do that??

NFS kind of vaguely does it. Basically its something like


event kernel app
sleep on ppp ports
auth-req ------>
queue auth
wake app
process auth via PAM etc
send ok to kernel
tell hw
auth-ok <----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.059 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site