Re: information on users

From: Joel Burton <jburton(at)scw(dot)org>
To: Nick T <ntaylor84(at)earthlink(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: information on users
Date: 2001-04-08 09:44:28
Message-ID: Pine.LNX.4.21.0104080542530.19671-100000@olympus.scw.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 3 Apr 2001, Nick T wrote:

> Howdy all:
>
> I'm brand new to postgresql, so don't beat me too severely about the head
> and shoulders over this question.
>
> I see that we can add users and delete or drop users. As the database
> administrator, I'd like to be able to view all of the users and all of the
> information about them. Couldn't find out how to do this in the
> documentation. Could anyone tell me how to do this? If there is no utility
> for this, is there a file that I can view that has this info?

Welcome to PostgreSQL.

There are 'system catalog tables' that hold information about your
database. If you use the command \dS in the psql, you'll get the full list
of these system tables.

pg_user contains the user information, and can be viewed by
everyone. pg_shadow contains user information plus sensitive password
information, and can be viewed only by the superuser.

HTH,
--
Joel Burton <jburton(at)scw(dot)org>
Director of Information Systems, Support Center of Washington

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2001-04-08 10:10:18 Re: Can timeout duration be set?
Previous Message Joel Burton 2001-04-08 09:30:03 Re: speed on Postgresql compared to Mysql