Re: Coding Pam.

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

 



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@xxxxxxxxxxxxxxxx


_______________________________________________

Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux