pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Forums postgresql <pgsql-general@postgresql.org>
Subject: Re: Trigger when user logs in
Date: Thu, 11 Apr 2019 21:28:41 -0500
Message-ID: <d0b376b1-dedf-64c7-8d00-8aaa132177d4@gmail.com> (raw)
In-Reply-To: <21272.1555035161@sss.pgh.pa.us>
References: <eb44b902-9c08-8489-7d32-79d889d9e229@gmail.com>
	<21272.1555035161@sss.pgh.pa.us>

On 4/11/19 9:12 PM, Tom Lane wrote:
> Ron <ronljohnsonjr@gmail.com> writes:
>> PCI auditors have mandated that our databases (all running v9.6) send an
>> email when certain users log in.  Thus, I've been searching for how to do
>> this, but without much luck.
> PAM is the usual suggestion

Can you be more specific?  (All users except postgres log in directly to the 
database from remote systems.)

>   when you need off-the-beaten-path login behavior.

I bet requests like this will start to make it onto the beaten path.

-- 
Angular momentum makes the world go 'round.





view thread (12+ messages)  latest in thread

Message-ID: <d0b376b1-dedf-64c7-8d00-8aaa132177d4@gmail.com>
Permalink:  ../d0b376b1-dedf-64c7-8d00-8aaa132177d4@gmail.com/
Also on:    postgresql.org/message-id/d0b376b1-dedf-64c7-8d00-8aaa132177d4@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: Trigger when user logs in
  In-Reply-To: <d0b376b1-dedf-64c7-8d00-8aaa132177d4@gmail.com>
  References: <eb44b902-9c08-8489-7d32-79d889d9e229@gmail.com> <21272.1555035161@sss.pgh.pa.us> <d0b376b1-dedf-64c7-8d00-8aaa132177d4@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox