Re: Pam configuration files

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

 



Yes, the application calls it with the service name, and that is the name of the configuration file. If it uses the old method where there is one pam.conf file, each line is prefixed with that service name for specifying configurations.

Joe

Boris Breslav wrote:

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@xxxxxxxxxxxxxxxxxx>
To: <pam-list@xxxxxxxxxx>
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@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/pam-list



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


_______________________________________________

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