Re: who can view pg_stat_activity?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



this seems to be a security hole.  this means I can see query text for queries that aren't mine.  anyone else concerned?

--cnemelka

On Wed, Feb 7, 2018 at 10:17 AM, Shreeyansh Dba <shreeyansh2014@xxxxxxxxx> wrote:
Hi Mark Steben,

There is no superuser required to view pg_stat_activity, a normal user can also view or access.




On Wed, Feb 7, 2018 at 10:27 PM, Mark Steben <mark.steben@xxxxxxxxxxxxxxxxx> wrote:
Good morning,

We currently run postgres 9.4.  The only way to view the pg_stat_activity view that I can see is that you must be a superuser.  I couldn't find anything in the documentation to confirm or refute this.  Could you please confirm if this is true or if not, what privileges are required?

Thank you for your time.


--




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux