to run scripts instead of login prompt

Submitted by vaali
on November 6, 2008 - 3:23am

Hi...
i want to run some other script instead of the normal login screen ....and use the output of the script for authentication.
so i need help for doing this.
can anybody tell me how can i proceed.
first
for runing my script during login
second
how can i use it for authentication
(like how the normal login does after we enter the password)

pls help..
thanks

Is the script supposed to

Anonymous (not verified)
on
November 6, 2008 - 6:45am

Is the script supposed to log the user/pass info before passing it to login ? :P

Seriously, wouldn't the simplest be to write a new module for PAM doing what you want ?

Instead of login i want to

vaali
on
November 7, 2008 - 10:51pm

Instead of login i want to use the script ....... i dont want the login prompt

i donot know how to write a pam module ...can you pls tell me how to do that ....
would you pls tell me where i can find the resources....

Thanks.
vinay

RTFriendlyM

not (not verified)
on
November 6, 2008 - 11:15pm

man inittab

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.