I want to execute a program in kernel mode( in a module inserted), the module is inserted before /bin/init. so there is no tty exists. When inserting, I want to read password from keyboard to ensure the user is the right person.
Can anybody tell me how to do this? Any kind response is welcome!
