Audit of logout

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Audit of logout
Date: 2014-06-12 11:51:36
Message-ID: CAHGQGwFA1sBSu-XXmC2PniH0AXV_wHUqoLJxPNtUfszMZCG5Tw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Some users enable log_disconnections in postgresql.conf to audit all logouts.
But since log_disconnections is defined with PGC_BACKEND, it can be changed
at connection start. This means that any client (even nonsuperuser) can freely
disable log_disconnections not to log his or her logout even when the
system admin
enables it in postgresql.conf. Isn't this problematic for audit?

Regards,

--
Fujii Masao

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jochem van Dieten 2014-06-12 11:58:31 Re: "RETURNING PRIMARY KEY" syntax extension
Previous Message Andres Freund 2014-06-12 11:40:59 Re: Inaccuracy in VACUUM's tuple count estimates