pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rodger Donaldson <rodgerd@diaspora.gen.nz>
To: pgsql-sql@postgresql.org
Subject: Re: Database authentication and configuration
Date: Thu, 20 Jul 2000 09:46:43 +1200
Message-ID: <20000720094643.A32547@diaspora.gen.nz> (raw)
In-Reply-To: <3973BA8A.4FD285F9@kss.net.au>
References: <3973BA8A.4FD285F9@kss.net.au>

On Tue, Jul 18, 2000 at 12:01:46PM +1000, Carolyn Lu Wong wrote:

> Are there anywhere to configure so that whenever I call 'psql dbname',
> it'll always prompt for user authentication instead of getting into the
> database directly?

Take a look at the configuration of your pg_hba.conf file.  You will most
likely find that you're set up to trust local users.  You can force
authentication by changing this to password, crypt, or kerberos based
authentication.

-- 
Rodger Donaldson		rodgerd@diaspora.gen.nz
"Forgive us if we bite your head off; we were led to assume you weren't
using it in the first place"
		--Jim Allenspach, in comp.lang.perl.misc



view thread (3+ messages)

Message-ID: <20000720094643.A32547@diaspora.gen.nz>
Permalink:  ../20000720094643.A32547@diaspora.gen.nz/
Also on:    postgresql.org/message-id/20000720094643.A32547@diaspora.gen.nz

 · 

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-sql@postgresql.org
  Cc: rodgerd@diaspora.gen.nz
  Subject: Re: Database authentication and configuration
  In-Reply-To: <20000720094643.A32547@diaspora.gen.nz>
  References: <3973BA8A.4FD285F9@kss.net.au> <20000720094643.A32547@diaspora.gen.nz>

* 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