From: acchung@mit.edu
To: pgsql-admin@postgresql.org
Subject: postgres authentication
Date: Wed, 10 Jul 2002 16:48:34 -0400
Message-ID: <1026334114.3d2c9da2be9e0@webmail.mit.edu> (raw)
Hi,
I changed my pg_hba.conf file so that I am authenticating using
md5 from passwdfile which is a file i created to hold my passwords.
I didn't add postgres onto that file but when I type psql template1
under postgres, it prompts me for my password. i type it in
and it gives me
psql: FATAL 1: Password authentication failed for user "postgres"
I only have one password for postgres which I used perfectly fine
to log into linux. I also use the same password to switch between
postgres and other non-root users in the bash shell. i tried adding postgres
into the passwdfile file but to no avail. How do I correct this
password bug for postgres so that I can do stuff as a superuser?
HELP!
Alex
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: acchung@mit.edu
Subject: Re: postgres authentication
In-Reply-To: <1026334114.3d2c9da2be9e0@webmail.mit.edu>
* 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