vjn <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/