Re: Where can I get Users and Roles information in PostgreSQL

From: "Henshall, Stuart - WCP" <SHenshall(at)westcountrypublications(dot)co(dot)uk>
To: "'Andy Ruhl'" <acruhl(at)sdf(dot)lonestar(dot)org>, sreedhar <sreedhar(at)lucidindia(dot)net>
Cc: PostgreSQL <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Where can I get Users and Roles information in PostgreSQL
Date: 2002-02-05 15:57:01
Message-ID: E2870D8CE1CCD311BAF50008C71EDE8E01F747C7@MAIL_EXCHANGE
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Have a look at the system views pg_user and pg_group
- Stuart

> -----Original Message-----
> From: Andy Ruhl [mailto:acruhl(at)sdf(dot)lonestar(dot)org]
> Sent: 04 February 2002 13:33
> To: sreedhar
> Cc: PostgreSQL
> Subject: Re: Where can I get Users and Roles information in PostgreSQL
>
>
> On Mon, 4 Feb 2002, sreedhar wrote:
>
> > Hi all,
> >
> > I am new bee to PostgreSQL. Where can I get Users and Roles
> information in
> > PostgreSQL.
> >
> > eg : In SQL-SERVER we can get users information using
> 'sysusers' table.
> >
> > advance thanks for helping,
>
> I'm new too, so this may not be the best answer, but it's
> useful anyway.
>
> If you are a superuser (ie: you can create other users), try this:
>
> select * from pg_shadow;
>
> Warning: Passwords will be shown in plain text. If you don't
> want anyone
> to see, make sure nobody is standing behind you!
>
> Andy
>
> --
> acruhl(at)sdf(dot)lonestar(dot)org
> SDF Public Access UNIX System - http://sdf.lonestar.org
>
>

Browse pgsql-admin by date

  From Date Subject
Next Message Srinivasa Rao Chava 2002-02-05 17:51:17 postgresql 7.1.3
Previous Message Roberto Mello 2002-02-05 15:03:01 Re: Privil?gios sobre colunas