pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedWhere can I get Users and Roles information in PostgreSQL
3+ messages / 3 participants
[nested] [flat]
* Where can I get Users and Roles information in PostgreSQL
@ 2002-02-04 09:04 sreedhar <sreedhar@lucidindia.net>
2002-02-04 13:33 ` Re: Where can I get Users and Roles information in PostgreSQL Andy Ruhl <acruhl@sdf.lonestar.org>
0 siblings, 1 reply; 3+ messages in thread
From: sreedhar @ 2002-02-04 09:04 UTC (permalink / raw)
To: pgsql-admin
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,
regards,
sreedhar
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Where can I get Users and Roles information in PostgreSQL
2002-02-04 09:04 Where can I get Users and Roles information in PostgreSQL sreedhar <sreedhar@lucidindia.net>
@ 2002-02-04 13:33 ` Andy Ruhl <acruhl@sdf.lonestar.org>
0 siblings, 0 replies; 3+ messages in thread
From: Andy Ruhl @ 2002-02-04 13:33 UTC (permalink / raw)
To: sreedhar <sreedhar@lucidindia.net>; +Cc: pgsql-admin
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@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Where can I get Users and Roles information in PostgreSQL
@ 2002-02-05 15:57 Henshall, Stuart - WCP <SHenshall@westcountrypublications.co.uk>
0 siblings, 0 replies; 3+ messages in thread
From: Henshall, Stuart - WCP @ 2002-02-05 15:57 UTC (permalink / raw)
To: 'Andy Ruhl' <acruhl@sdf.lonestar.org>; sreedhar <sreedhar@lucidindia.net>; +Cc: pgsql-admin
Have a look at the system views pg_user and pg_group
- Stuart
> -----Original Message-----
> From: Andy Ruhl [mailto:acruhl@sdf.lonestar.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@sdf.lonestar.org
> SDF Public Access UNIX System - http://sdf.lonestar.org
>
>
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2002-02-05 15:57 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-02-04 09:04 Where can I get Users and Roles information in PostgreSQL sreedhar <sreedhar@lucidindia.net>
2002-02-04 13:33 ` Andy Ruhl <acruhl@sdf.lonestar.org>
2002-02-05 15:57 Re: Where can I get Users and Roles information in PostgreSQL Henshall, Stuart - WCP <SHenshall@westcountrypublications.co.uk>
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