pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David <iaredavey@hotmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: access is denied completely from postgresql!!
Date: Sat, 23 Mar 2002 12:06:48 -0500
Message-ID: <25812.1016903208@sss.pgh.pa.us> (raw)
In-Reply-To: <OE60D5euwdUTaGmvSVM000169e5@hotmail.com>
References: <F69ILoygXLsxpTljBOh0000dab6@hotmail.com>
	<OE60D5euwdUTaGmvSVM000169e5@hotmail.com>

"David" <iaredavey@hotmail.com> writes:
> If i try to service it with Webmin, which worked before the =
> crash, Webmin now returns the following kind of error..for example, retriev=
> ing a list of users of the system:=20

>   SQL select * from pg_shadow failed : pg_shadow: Permission denied.
>   I can see the current data in the current database, just cant do anything=
>  with that, add users, or give users permission etc.

Apparently Webmin is connecting as a non-superuser Postgres user.  Check
which user you are starting it as.  Perhaps you have forgotten to set
an appropriate PGUSER environment value?

			regards, tom lane



view thread (6+ messages)

Message-ID: <25812.1016903208@sss.pgh.pa.us>
Permalink:  ../25812.1016903208@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25812.1016903208@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, iaredavey@hotmail.com
  Subject: Re: access is denied completely from postgresql!!
  In-Reply-To: <25812.1016903208@sss.pgh.pa.us>
  References: <F69ILoygXLsxpTljBOh0000dab6@hotmail.com> <OE60D5euwdUTaGmvSVM000169e5@hotmail.com> <25812.1016903208@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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