Hi Neelay, You can see what those services include, if you try to open the files: /etc/pam.d/login and /etc/pam.d/passwd. You have to read the Linux-Pam manual if you want to understand more, on how to make a service file. It's not so difficult. It depends on what exactly you want to do. Bye Marios -----Original Message----- From: pam-list-admin@redhat.com [mailto:pam-list-admin@redhat.com] On Behalf Of Shah, Neelay Sent: Thursday, October 31, 2002 5:51 AM To: pam-list@redhat.com Subject: RE: PAM newbie 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:mkara@teiath.gr] Sent: Tuesday, October 29, 2002 6:44 PM To: pam-list@redhat.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-admin@redhat.com [mailto:pam-list-admin@redhat.com] On Behalf Of Shah, Neelay Sent: Monday, October 28, 2002 1:54 PM To: pam-list@redhat.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@redhat.com https://listman.redhat.com/mailman/listinfo/pam-list _______________________________________________ Pam-list@redhat.com https://listman.redhat.com/mailman/listinfo/pam-list