From: | Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> |
---|---|
To: | * Tong * <tong(at)none(dot)hub(dot)org> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Authorise root as postgres |
Date: | 2002-11-18 14:07:19 |
Message-ID: | 20021118140719.GA3571@dcc.uchile.cl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Sun, Nov 17, 2002 at 07:06:40PM +0000, * Tong * wrote:
> My postgres is password protected, I want to use 'psql -U postgres' as a
> root without specifying password every time, or for a certain group of
> users. How can I do that? I've been banning my head on the walls in
> finding a way to achieve it. Still can't find a way to do it with
> indent, md5 or even passwords authentication. Please help.
You can use the PGPASSWORD environment variable, or ~/.pgpass if 7.3.
--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"The eagle never lost so much time as
when he submitted to learn from the crow." (William Blake, citado por Nobody)
From | Date | Subject | |
---|---|---|---|
Next Message | Lee Kindness | 2002-11-18 14:09:02 | Retrieve Number of rows to be DELETEd |
Previous Message | Marc G. Fournier | 2002-11-18 13:43:16 | RC1 Packaged for Testing ... |