Re: [exim] Change PAM service name

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Yves Goergen
Data:  
Para: Graeme Fowler, exim users
Assunto: Re: [exim] Change PAM service name
That link would work for PAM, but my custom PAM module sends the request
to a local backend server that does the actual work. And to distinguish
services (it also handles FTP users which come from another table), it
uses the service name.

OK, so I'll either set "exim" for Dovecot, or copy the PAM config for
both and teach my backend server about service aliases.

Thank you for the clarification.

-Yves


-------- Ursprüngliche Nachricht --------
Von: Graeme Fowler via Exim-users <exim-users@???>
Gesendet: Mittwoch, 16. September 2020, 23:59 MESZ
Betreff: [exim] Change PAM service name

On 16 Sep 2020, at 22:40, Yves Goergen via Exim-users
<exim-users@???> wrote:
Can I change this? Is there a config option or something or should I
give up my search and change my PAM configuration? I'd like to share the
service with Dovecot (IMAP, POP3) to simplify the backend and prefer not
to use the name "exim" for Dovecot as it could be confusing, but rather
a generic name like "email”.

There isn’t, but judicious use of the PAM configuration or something as
simple as a symlink will resolve that in ways that are rather more portable.

Create /etc/pamd.d/email and put in the config you need, then “ln -s
/etc/pam.d/email /etc/pam.d/exim" (and dovecot) should work.

Graeme