Re: How to identify users with super privilegies in postgress ?

From: ALEXANDER JOSE <aangelj(at)hotmail(dot)com>
To: Shreeyansh Dba <shreeyansh2014(at)gmail(dot)com>, marcos sr <msr(dot)mailing(at)gmail(dot)com>
Cc: "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: How to identify users with super privilegies in postgress ?
Date: 2018-03-09 16:17:52
Message-ID: BN6PR15MB134803C8B3B7C19F56BE1453A5DE0@BN6PR15MB1348.namprd15.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi, other opction;

>psql

select * from pg_user where usesuper='TRUE';

Alexander Angel

DBA Postgresql

venezuela

________________________________
De: Shreeyansh Dba <shreeyansh2014(at)gmail(dot)com>
Enviado: viernes, 09 de marzo de 2018 05:14 a.m.
Para: marcos sr
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Asunto: Re: How to identify users with super privilegies in postgress ?

You can identify the user privileges by using "\du+" or querying pg_user catalog table from Psql terminal.

[https://docs.google.com/uc?export=download&id=1gGhoMTYjvHWLCZkro06CHfeV5B0i67aE&revid=0B0kMUYo6rsLZRXpXakFESmpyK2NqbG5BOW9zakpWU2U3S3NjPQ]<http://www.shreeyansh.com>

On Thu, Mar 8, 2018 at 11:05 PM, marcos sr <msr(dot)mailing(at)gmail(dot)com<mailto:msr(dot)mailing(at)gmail(dot)com>> wrote:
Hello,

I'm new on postgress, I need verify if exists users with "super privileges" in postgress 8.4.

What commands should I run? And what files i need look?

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Dave Cramer 2018-03-09 17:50:45 Re: Logical WAL streaming & START_REPLICATION
Previous Message Shreeyansh Dba 2018-03-09 05:14:33 Re: How to identify users with super privilegies in postgress ?