How auth the md5 password using pam

rakesh zingade rakeshzingade at gmail.com
Tue Nov 20 08:20:09 UTC 2007


See below configuration line may this help you -- add this line in /etc/*pam
*.d/passwd file

password  sufficient  /lib/security/pam_unix.so nullok use_authtok md5




On Nov 20, 2007 11:02 AM, Chu Qiu <qiu.chu at hotmail.com> wrote:

>  I have developed a PHP application using  PAM auth , and whose config
> file in the /etc/pam.d is :
>
>
>
> *#%PAM-1.0*
>
> *auth       required     pam_stack.so service=system-auth*
>
> *auth       required     pam_nologin.so*
>
> *account    required     pam_stack.so service=system-auth*
>
>
>
> I will send the username and password to a CGI program written by C
> language modules and PAM APIs.
>
>
>
> Now I want to encrypt the password with md5, and send username and the MD5
> encrypted password to CGI .
>
>
>
> But I don't know how to modify my PAM config file to make it support auth
> the MD5 password.
>
>
>
> Please do me a favor!
>
>
>
> Thank you very much!
>
>
>
> Chu Qiu
>
>
>
> _______________________________________________
> Pam-list mailing list
> Pam-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pam-list
>



-- 
Rakesh P. Zingade
+919420357790
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pam-list/attachments/20071120/ca2879b2/attachment.htm>


More information about the Pam-list mailing list