Re: how to associate PAM module to a service in non-obvious cases..

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

 



Raj wrote:
For eg. I don't have any file by name "telnet" under
/etc/pam.d dir on my Redhat linux. In such cases, how
do I definitely identify an Entry PAM module for a
given service?

The mapping from a program to which PAM service name it uses is done by the program, so you will need to determine it on a program-by-program basis.

In your example, telnet will invoke /bin/login, and that will use the "login" PAM service.

If an application asks for a PAM service for which there's no specific configuration then you will get the "other" service, although there is no way for an application to know that this has happened(?).

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

_______________________________________________

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