Re: need help

From: Bodo Eggert
Date: Fri Apr 06 2007 - 17:25:13 EST


vjn <vjn.raj@xxxxxxxxx> wrote:

> in my project i want to code the kernel such that when i plugged my usb it
> should ask for password and check it in the kernel space . can anyone help
> me

No, since the kernel has no way to ask for input. Imagine a two-seated
machine with two keyboards, mice and monitors, one terminal at each serial
port, three users logging in using XDM and one disconnected screen session
on tty6. Who's going to be asked? And in case of X11 or XDM: How should the
kernel authenticate to the user's screen?
--
A beggar walked up to a well-dressed woman shopping on Rodeo
Drive and said, "I haven't eaten anything for days."
She looked at him and said, "God, I wish I had your willpower."
Friß, Spammer: O5YrJ-q@xxxxxxxxxxxxxxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/