Connection authentication

From: Oleg Lebedev <olebedev(at)waterford(dot)org>
To: Postgres SQL Mailing List <pgsql-sql(at)postgresql(dot)org>
Subject: Connection authentication
Date: 2002-04-24 19:32:44
Message-ID: 3CC7085C.75D70C72@waterford.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Bruno Ricardo Sacco 2002-04-25 04:34:48 Pl/pgSQL Question.
Previous Message Ian Morgan 2002-04-24 18:10:18 Re: BLOB Feature Limits