SV: Coding Pam.
Simon Johansson
simon.johansson at ladok.umu.se
Mon Jun 13 05:32:27 UTC 2005
Hi.
The webpage is produced by the application that I am manage.
So there is no apache. I will take a look on the source code for
mod_auth_pam. Perhaps it will give me the some idea.
/Simon
-----Ursprungligt meddelande-----
Från: pam-list-bounces at redhat.com [mailto:pam-list-bounces at redhat.com] För
Les Mikesell
Skickat: den 10 juni 2005 16:41
Till: Pluggable Authentication Modules
Ämne: Re: Coding Pam.
On Fri, 2005-06-10 at 03:01, Simon Johansson wrote:
> 1) The program I am manage is using a webpage for the user to login
> to. So I can?t use misc_conv an as I understand is that misc_conv and
> pam_misc.h is Linux specified. So how should I write the program so that
> misc_conv is not used so that I can send in the password before
> pam_authenticate. I like to do something like this
> retval=pam_set_item(pamh,PAM_USER,user); but for password.
>
> 2) This should also work on Solaris and in the further Digital.
> What I would like is a small example code. So if you known some program or
> webpage that have this please show me the way.
If you are running under apache, why not use mod_auth_pam:
http://pam.sourceforge.net/mod_auth_pam/
--
Les Mikesell
les at futuresource.com
_______________________________________________
Pam-list mailing list
Pam-list at redhat.com
https://www.redhat.com/mailman/listinfo/pam-list
More information about the Pam-list
mailing list