I am not able to recieve password by expose_authtok option of pam_exec module.
Please answer the below query.It is very urgent.
I want to recieve the passsword given by user at login time,in a variabe to validate it against some rules.
I have read about pam_exec.so gives the password to the calling script at stdin by using expose_authtok option.
But i am not able to recieve the password in my script.Can anyone help me how can i retrieve the password given by user at login time.
Last edited by Pooja2505; 03-01-2014 at 12:36 AM.
Reason: grammar mistake