Connection authentication - Mailing list pgsql-sql

From Oleg Lebedev
Subject Connection authentication
Date
Msg-id 3CC7085C.75D70C72@waterford.org
Whole thread Raw
Responses Re: Connection authentication  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-sql
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




pgsql-sql by date:

Previous
From: Ian Morgan
Date:
Subject: Re: BLOB Feature Limits
Next
From: Bruno Ricardo Sacco
Date:
Subject: Pl/pgSQL Question.