pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nick Fankhauser <nickf@ontko.com>
To: Jodi Kanter <jkanter@virginia.edu>
To: Postgres Admin List <pgsql-admin@postgresql.org>
Subject: Re: user passwords
Date: Thu, 20 Dec 2001 12:26:02 -0500
Message-ID: <NEBBLAAHGLEEPCGOBHDGAEKCEBAA.nickf@ontko.com> (raw)
In-Reply-To: <011d01c18971$fc78f5e0$de138f80@virginia.edu>


You might want to take a look at your pg_hba.conf file to see if the
auth-method is "trust".

Details are here:
http://www.postgresql.org/idocs/index.php?client-authentication.html#PG-HBA.
CONF

-Nick

--------------------------------------------------------------------------
Nick Fankhauser  nickf@ontko.com  Phone 1.765.935.4283  Fax 1.765.962.9788
Ray Ontko & Co.     Software Consulting Services     http://www.ontko.com/

> -----Original Message-----
> From: pgsql-admin-owner@postgresql.org
> [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Jodi Kanter
> Sent: Thursday, December 20, 2001 11:19 AM
> To: Postgres Admin List
> Subject: [ADMIN] user passwords
>
>
> why is it that I can sign in to the postgres database using PSQL without
> having to specify a password for a user even thought one has been
> specified
> in pg_shadow?
>
> I signed in to Linux with my own personal id (which is NOT a postgres
> account) and used the following command to get in:
>
> psql -U postgres dbname
>
> It let me in to our database as postgres (a superuser account)
> without even
> prompting for a password.
>
> Am I missing something?
> thanks
> Jodi
> _______________________________________________________________ Jodi L
> Kanter BioInformatics Database Administrator University of Virginia (804)
> 924-2846 jkanter@virginia.edu
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>




view thread (3+ messages)

Message-ID: <NEBBLAAHGLEEPCGOBHDGAEKCEBAA.nickf@ontko.com>
Permalink:  ../NEBBLAAHGLEEPCGOBHDGAEKCEBAA.nickf@ontko.com/
Also on:    postgresql.org/message-id/NEBBLAAHGLEEPCGOBHDGAEKCEBAA.nickf@ontko.com

 · 

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: nickf@ontko.com, jkanter@virginia.edu
  Subject: Re: user passwords
  In-Reply-To: <NEBBLAAHGLEEPCGOBHDGAEKCEBAA.nickf@ontko.com>
  References: <011d01c18971$fc78f5e0$de138f80@virginia.edu> <NEBBLAAHGLEEPCGOBHDGAEKCEBAA.nickf@ontko.com>

* 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