Re: User authentication from the kernel

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Jul 28 2000 - 16:00:53 EST


> 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/



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:28 EST