From: | Maarten Boekhold <maartenb(at)dutepp0(dot)et(dot)tudelft(dot)nl> |
---|---|
To: | Bernd Johannes Wuebben <wuebben(at)math(dot)cornell(dot)edu> |
Cc: | pgsql-admin(at)postgreSQL(dot)org |
Subject: | Re: [ADMIN] FATAL 1: SetUserId: |
Date: | 1998-08-13 09:24:49 |
Message-ID: | Pine.SUN.3.91.980813112207.20631E-100000@dutepp0.et.tudelft.nl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Wed, 12 Aug 1998, Bernd Johannes Wuebben wrote:
>
> Hello,
>
> I have just installed the latest postgresql rpms on RedHat 5.1:
>
> root: rpm -q postgresql
> postgresql-6.3.2-4
>
> root: rpm -q postgresql-data
> postgresql-data-6.3.2-4
>
> However I can't get started with postgres as outlined in the tutorial:
>
> wuebben: psql template1
> Connection to database 'template1' failed.
> FATAL 1: SetUserId: user "wuebben" is not in "pg_shadow"
Your $PGDATA/pg_hba.conf is probably telling pgsql to require a
username/password for all databases. Go to the end of this file and
change 'password' to 'trust', and then restart the postmaster. I guess
this is an error in the rpm.
> The postmaster is running:
>
> root: ps ax | grep post
> 580 p1 S 0:00 grep post
> 293 ? S 0:00 /usr/bin/postmaster -S -D/var/lib/pgsql
>
>
> Why is psql complaining ( and so are createdb and friends ) about:
> SetUserId: user "wuebben" is not in "pg_shadow" if psql is not even
> looking in /var/lib/pg_shadow ( see strace below )? What do I need to
> do to get started?
It's not psql that is ocmplaining, it is the postmaster, so you're
stracing the wrong program...
I'll be graduating in very short notice, and I think I'l have a few spare
days after that that I can use to write something about how postgres deals
with users etc...
Maarten
_____________________________________________________________________________
| TU Delft, The Netherlands, Faculty of Information Technology and Systems |
| Department of Electrical Engineering |
| Computer Architecture and Digital Technique section |
| M(dot)Boekhold(at)et(dot)tudelft(dot)nl |
-----------------------------------------------------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | Maarten Boekhold | 1998-08-13 12:21:41 | Re: [ADMIN] FATAL 1: SetUserId: |
Previous Message | Marcio Macedo | 1998-08-13 09:01:02 | Re: [ADMIN] FATAL 1: SetUserId: |