Pam configuration files
Joe Lewis
joe at joe-lewis.com
Wed Feb 25 18:42:53 UTC 2004
Pam DOESN'T know which file to use. The application requesting the
library's authentication is what controls which one is being used.
When writing a pam application, you specify which service you are going
to request, such as "sshd" or "ssh". Simple, really, which is the
entire intent of the PAM system.
Joe
Boris Breslav wrote:
> Hi all,
> can someone please shed some lite on this one.
> According to the Pam Administration Guide:
>
> service-name
>
> The name of the service associated with this entry. Frequently the service
> name is the conventional name of the given application. For example, `ftpd',
> `rlogind' and `su', etc. .
>
> Then:
>
> More flexible than the single configuration file, as of version 0.56, it is
> possible to configure libpam via the contents of the /etc/pam.d/ directory.
> In this case the directory is filled with files each of which has a filename
> equal to a service-name (in lower-case): it is the personal configuration
> file for the named service.
>
> Now, in my distributaion the FTP configuration file is /etc/pam.d/ftp and
> not ftpd as mentioned above.
>
> So the question is how does PAM know which file to use? I'm also thinking
> about writing my own PAM-enabled application. How do I make sure that the
> right configuration file will be picked up?
>
> Thanks in advance
>
> Boris
>
>
>
>
>
> _______________________________________________
> 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