[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

SV: Coding Pam.


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. 


-----Ursprungligt meddelande-----
Från: pam-list-bounces redhat com [mailto:pam-list-bounces 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:

  Les Mikesell
   les futuresource com

Pam-list mailing list
Pam-list redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]