pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: shreedhar <shreedhar@lucidindia.net>
To: pgsql <pgsql-admin@postgresql.org>
Subject: Problem in 'User Securities' in postgres
Date: Wed, 22 May 2002 19:32:17 +0530
Message-ID: <002101c20199$48fdeca0$1201a8c0@a4005> (raw)

Hi All,

I gave my previous mail on 'user securities' with subject 'probelm in usersecurities'. In that i mentioned that access to database on localhost is allowed without password. I got suggestion that to go through 'clinet authentication'.

As per that document i changed the 'pg_hba.conf' file as follows.

local    all                                    password

while accessing database it is asking for password, if i give database password, i am getting error as 'password authentication failure for user 'xxxx' ' .

host    all    x.x.x.x    x.x.x.x    password

If i try to connect through pg_access (tcp/Ip) connection. If I supplied user password i got same above error. 

In case of 'trust' connection it is allowing every body without password checking.

How can i use password authentication.

Another question shall we use 'unix securities' using Postgres like 'windows-nt and sqlserver'. and what security protocol is maintaining by postgres.

thanks alot for any suggestion.

with best regards,

bhaskar

Message-ID: <002101c20199$48fdeca0$1201a8c0@a4005>
Permalink:  ../002101c20199$48fdeca0$1201a8c0@a4005/
Also on:    postgresql.org/message-id/002101c20199$48fdeca0$1201a8c0@a4005

 · 

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: shreedhar@lucidindia.net
  Subject: Re: Problem in 'User Securities' in postgres
  In-Reply-To: <002101c20199$48fdeca0$1201a8c0@a4005>
  References: <002101c20199$48fdeca0$1201a8c0@a4005>

* 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