Re: opening postgresql first time

From: joseph speigle <joe(dot)speigle(at)jklh(dot)us>
To: postgres <pgsql-novice(at)postgresql(dot)org>
Subject: Re: opening postgresql first time
Date: 2004-04-28 02:24:44
Message-ID: 20040428022444.GA10341@www.sirfsup.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Bob,

the sameuser special map is shown in the pg_hba.conf above (see its last line which says:
local all ident sameuser
)
In other words, sameuser says that the os username must match the postgres username. It is a special ident map. If it's included in pg_hba.conf then it will preclude ident.conf from ever being checked.

pg_ident.conf allows mapping from one user to another user, from system user to postgresql user.

try just deleting that line from pg_hba.conf and SIGHUPPing i:)

On Wed, Apr 28, 2004 at 01:56:53PM +1200, Robert Morgan wrote:
> Hi have just installed postgres and tried to open it using: psql
> template1 postgres
> and get an error ident authentication failed.
>
> How do I open the dbms to add a user?
> Can I do it from the shell?
>
> Bob
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org

--
joe speigle
www.sirfsup.com

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message joseph speigle 2004-04-28 02:30:52 Re: How to retrieve the serial number of an INSERT?
Previous Message Avi Schwartz 2004-04-28 02:24:26 Re: opening postgresql first time