pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oleg Lebedev <olebedev@waterford.org>
To: Postgres SQL Mailing List <pgsql-sql@postgresql.org>
Subject: Connection authentication
Date: Wed, 24 Apr 2002 13:32:44 -0600
Message-ID: <3CC7085C.75D70C72@waterford.org> (raw)

Hello,
I have a problem running a CRON job that vacuums and backs up my
database when authentication type is set to 'password' in pg_hba.conf
file. I used to have 'trust'ed settings before and everything was
working fine. Now I switched to password authentication type, but how
would a cron script send the password when prompted. I tried to set up
PGUSER and PGPASSWORD env. vars, but psql still prompts for the
password.
Any ideas?
I am using PostgreSQL 7.1.3 on Red Hat Linux 7.1.
thanks,

Oleg





view thread (4+ messages)  latest in thread

Message-ID: <3CC7085C.75D70C72@waterford.org>
Permalink:  ../3CC7085C.75D70C72@waterford.org/
Also on:    postgresql.org/message-id/3CC7085C.75D70C72@waterford.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: olebedev@waterford.org
  Subject: Re: Connection authentication
  In-Reply-To: <3CC7085C.75D70C72@waterford.org>

* 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