OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Shah, Neelay (NShah_at_india.bindview.com)
Date: Wed Oct 30 2002 - 21:50:48 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hi,
            Thanks for your reply.
            You were right, I tried using "passwd" as the service name in the
    pam_start() function call now pam_authenticate() works.
            Also, I am a little confused over the significance of this service
    name parameter.
            Please help.
            I did not try using "login" as service name, but what is the
    difference between the two services
            "login" and "passwd" and which one is to be used for user
    authentication ?
            
            Thanks for your help.

            Neelay S Shah

    -----Original Message-----
    From: Marios Karagiannopoulos [mailto:mkarateiath.gr]
    Sent: Tuesday, October 29, 2002 6:44 PM
    To: pam-listredhat.com
    Subject: RE: PAM newbie

    Dear Neelay,
            Have you tried to configure the pam services (under the
    /etc/pam.d) as well?
    If you haven't, then try to use an already defined service in the
    pam_start("login",...);
    function.

    --Cheers,
    Marios

    -----Original Message-----
    From: pam-list-adminredhat.com [mailto:pam-list-adminredhat.com] On
    Behalf Of Shah, Neelay
    Sent: Monday, October 28, 2002 1:54 PM
    To: pam-listredhat.com
    Subject: PAM newbie

    Hi,
            I am a newbie to PAM and I want to verify the user password.
            What I want to do is authenticate the current user.
            I tried using pam_start() and pam_authenticate() API's but it
    always returns me "Not authenticated".
            What am I doing wrong ?
            
            Thanks in advance,

                    Neelay

    _______________________________________________
    Pam-list mailing list
    Pam-listredhat.com
    https://listman.redhat.com/mailman/listinfo/pam-list

    _______________________________________________
    Pam-list mailing list
    Pam-listredhat.com
    https://listman.redhat.com/mailman/listinfo/pam-list