Re: pam auth - add rhost item - Mailing list pgsql-hackers

From Euler Taveira
Subject Re: pam auth - add rhost item
Date
Msg-id 561EE92D.1030106@timbira.com.br
Whole thread Raw
In response to Re: pam auth - add rhost item  (kolo hhmow <grzsmp@gmail.com>)
Responses Re: pam auth - add rhost item  (kolo hhmow <grzsmp@gmail.com>)
List pgsql-hackers
On 14-10-2015 17:35, kolo hhmow wrote:
> Yes, but this is very ugly solution, becasue you have to restart
> postgresql daemon each time you have added a new user.>
Restart != Reload. You can even do it using SQL.

> This solution which I propose is give an abbility to dinamicaly manage
> user accounts without need to restart each time a user account entry has
> change.>
Why do you want to double restrict the access? We already have HBA. 
Also, you could complicate the management because you need to check two 
different service configurations to figure out why foo user can't log 
in. I'm not a PAM expert but my impression is that rhost is an optional 
item. Therefore, advise PAM users to use HBA is a way to not complicate 
the actual feature.


--    Euler Taveira                   Timbira - http://www.timbira.com.br/   PostgreSQL: Consultoria, Desenvolvimento,
Suporte24x7 e Treinamento
 



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: A bunch of regular-expression improvements
Next
From: Robert Haas
Date:
Subject: Re: Parallel Seq Scan