customizing login on terminal
How should i customize my login process on a terminal, to ask me the user name, check whether the user exists, greet him the day, and then to ask for the password? Pam modules looked awesome in customizing access but checking something in between the 'username' and password inputs....umm... couldn't get a clue :-(
You need to write your own "login" program
It need not be very complicated like the stock login program which can talk to serial console also; but it can be tailor made for your purpose
The best place to start would be to look at the busybox code. There is a login program
there which does this task and you can probably modify it for your purpose.
|All times are GMT -5. The time now is 02:17 PM.|