PAM modules

vinay's picture

HI all ,

can anyone guide me how to write a pam module.i want to write a pam module which replaces the  login prompt with some other program which provides the username and password to the password checking program..

pls suggest me any reading material which can help me.

thanks

vinay 

saifi's picture

The login process is started

The login process is started by agetty with /bin/login. So, if you want to change the login prompt, you would need to modify the implementation of login.

On Gentoo 2008.0 r1 Linux distribution, please refer to the

sys-apps/shadow

portage package for the implementation of login.

PAM or Pluggable authentication module are focussed on credentials processing, given a authentication mechanism.

Hope this helps.

thanks
Saifi.

vinay's picture

help for pam modules

hi  can you pls tell me how can we write pam modules and how to configure them

 

 

 

 

 

thanks vinay

vinay's picture

thanks for reply but many

thanks for reply

but many people suggested me to write a pam module .

i dont want the login prompt. and want my own application to take the username and password from th euser and then proceed  in the same way as the normal authentication.

so is it enough if i just change the login prompt implementation?

and i use fedora core 8.

 

 

Recent comments