Re: [ADMIN] "pg_guest" is not in "pg_shadow" error. - Mailing list pgsql-admin

From Peter Mount
Subject Re: [ADMIN] "pg_guest" is not in "pg_shadow" error.
Date
Msg-id Pine.LNX.3.95.980527192702.10915A-100000@retep.org.uk
Whole thread Raw
In response to [ADMIN] "pg_guest" is not in "pg_shadow" error.  ("Sejin Oh" <soh@cyberix.com>)
List pgsql-admin
On Wed, 27 May 1998, Sejin Oh wrote:

> In my pg_hda.conf:
> local        all
> password passwd
> host         all         127.0.0.1     255.255.255.255   password passwd
>
> then made password file using pg_passwd utility and made pg_guest user:
>
> [postgres@turbo data]$ pg_passwd passwd
> Username: pg_guest
> New password:
> Re-enter new password:
>
> [postgres@turbo data]$ more passwd
> pg_guest:BNCVMQvaZsLXs
>
> then when i try to connect to database I get this error message:
>
> [postgres@turbo data]$ psql -u temple
> Username: pg_guest
> Password:
>
> Connection to database 'temple' failed.
> FATAL 1:  SetUserId: user "pg_guest" is not in "pg_shadow"
>
> Can anyone help me what is the solution for this FATAL 1:  SetUserId: user
> "pg_guest" is not in "pg_shadow" error?

Did you create the user using createuser? (other than creating the entry
in your passwd file)

--
Peter T Mount peter@retep.org.uk or petermount@earthling.net
Main Homepage: http://www.retep.org.uk
************ Someday I may rebuild this signature completely ;-) ************
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk


pgsql-admin by date:

Previous
From: "Sejin Oh"
Date:
Subject: [ADMIN] "pg_guest" is not in "pg_shadow" error.
Next
From: nm
Date:
Subject: problems with initdb on netbsd/alpha