in reply to authenticate via cgi-bin

Have you considered one of the PAM modules such as Authen::PAM? Perhaps that will help (if your system has PAM...)

HTH, --traveler

Replies are listed 'Best First'.
Re: Re: authenticate via cgi-bin
by mce (Curate) on Jan 07, 2003 at 15:30 UTC
    Yep,

    I tried that one also

    Authen::PAM works also only as root. You always get a authentication failure when you try it as a normal user.
    ---------------------------
    Dr. Mark Ceulemans
    Senior Consultant
    IT Masters, Belgium

      Hi ,

      The perlauthenhandler (sub directive) can be used to bypass the cgi from authenticating (if you could change the conf files .

      The use of suexec shall make the CGI process to run in the unix id itself ( not the nice way infact not recommended)

      You could install module in your own directory , that making it global (installing as a root) . The summary is people tend to go from seeing the /etc/passwd or configuring suexec on (as there are better ways to authenticate or authorize than the unixids)