Re: Listing users

From: wayne <infotechsys(dot)wayne(at)verizon(dot)net>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Listing users
Date: 2001-10-24 10:58:13
Message-ID: 3BD69EC5.200CFF1D@verizon.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

How would you find out who was authorize to use what DB?
WAyne

Peter Eisentraut wrote:

> Keary Suska writes:
>
> > The easiest way is to cat ~postgres/data/global/pg_pwd,
>
> No way.
>
> > but if that doesn't tell you what you need to know, you can SELECT *
> > FROM pg_shadow (works when connected to any database as long as you
> > are the postgres superuser).
>
> That or SELECT * FROM pg_user;
>
> --
> Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2001-10-24 10:58:36 Re: Disable Transaction - plans ?
Previous Message Ben-Nes Michael 2001-10-24 10:32:06 Re: Disable Transaction - plans ?