From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ron <ronljohnsonjr@gmail.com>
Cc: Forums postgresql <pgsql-general@postgresql.org>
Subject: Re: Trigger when user logs in
Date: Thu, 11 Apr 2019 22:12:41 -0400
Message-ID: <21272.1555035161@sss.pgh.pa.us> (raw)
In-Reply-To: <eb44b902-9c08-8489-7d32-79d889d9e229@gmail.com>
References: <eb44b902-9c08-8489-7d32-79d889d9e229@gmail.com>
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 when you need off-the-beaten-path login
behavior.
regards, tom lane
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: tgl@sss.pgh.pa.us, ronljohnsonjr@gmail.com
Subject: Re: Trigger when user logs in
In-Reply-To: <21272.1555035161@sss.pgh.pa.us>
References: <eb44b902-9c08-8489-7d32-79d889d9e229@gmail.com> <21272.1555035161@sss.pgh.pa.us>
* 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