-   Linux - Software (
-   -   customizing login on terminal (

balusss 04-22-2008 01:48 AM

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 :-(

bhaslinux 04-22-2008 10:52 AM

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 01:22 PM.