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

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



But I tried removing "login" file from pam.d dir.
"telnet" still worked. But it never worked when
there's no "remote" file in pam.d. I thought "remote"
is the entry PAM module used in case of telnet
service.

thanks

--- Darren Tucker <dtucker zip com au> wrote:

> 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 mailing list
> Pam-list redhat com
> https://www.redhat.com/mailman/listinfo/pam-list
> 



		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


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