Pam configuration files

Boris Breslav boris at bsafesolutions.com
Wed Feb 25 19:18:47 UTC 2004


Joe, Heiko, thanks a lot for your quick reply.
But even if the application itself is responsible for the service name, can
I be sure that the following is always true?:
PAM_SERVICE = name of the file in the /etc/pam.d directory

Boris

----- Original Message ----- 
From: "Heiko Hund" <heiko at ist.eigentlich.net>
To: <pam-list at redhat.com>
Sent: Wednesday, February 25, 2004 8.48 PM
Subject: Re: Pam configuration files


> Hey Boris,
>
> > Now it is even more interesting. I wrote a sample module and I printed
out
> > the PAM_SERVICE item for FTP connection and it was "ftp" and not "ftpd"
> > So what is it a typo in the Administration Guide?
>
> not at all. Every PAM enabled application chooses its own service name.
> Therefore it could be anything. It is only a convention to choose the
> name of the app. Obviously your ftpd chose `ftp' as a service name. That
> also is why the file in /etc/pam.d is named `ftp' and not `ftpd'. If you
> dislike that, you may recompile the ftpd with a service name you like.
>
> Greetings
> Heiko
> -- 
> -------------------------------------------------------------------
>   of course they say every atom of our body was once part of a star
>   maybe I'm not leaving, maybe I'm going home
> ------------------------------------------------------ [gattaca] --
>
>
> _______________________________________________
> Pam-list mailing list
> Pam-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pam-list





More information about the Pam-list mailing list