Re: User authentication from the kernel

From: Igmar Palsenberg (maillist@chello.nl)
Date: Sat Jul 29 2000 - 08:14:14 EST


On Fri, 28 Jul 2000, Ivan Passos wrote:

>
> Hello,
>
> 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??

User authentication is always a userspace issue, and should (and
can't) never be a kernelspace one.

Kernel only knows uid and gids.

> I understand how pppd does it (from userspace), but I don't know how a
> driver in the kernel can do the authentication directly (from
> kernelspace).

You can't. The kernel has no way to know where relevant files etc. are.

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

Use a userspace deamon that does it for you. Or dump the card :-)

> Thanks in advance for your help!
>
> Regards,
> Ivan

        Igmar

-
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:30 EST