Re: Superuser log-in through a web interface? - Mailing list pgsql-general

From Ken Tozier
Subject Re: Superuser log-in through a web interface?
Date
Msg-id 717C1447-2B76-11D9-93C1-003065F300E2@comcast.net
Whole thread Raw
In response to Re: Superuser log-in through a web interface?  (Vinko Vrsalovic <el@vinko.cl>)
List pgsql-general
On Oct 31, 2004, at 12:40 PM, Vinko Vrsalovic wrote:

> <snip>

> This is probably because pg_hba.conf settings. By default, it trusts
> connections from localhost, which means that any connection being made
> from localhost (which is the case when the web server and database are
> running in the same machine) will be accepted regardless of user and
> password.
>
> You should change these lines in pg_hba.conf
>
> local   all         all                               trust
> # IPv4-style local connections:
> host    all         all         127.0.0.1/32          trust
>
> and change 'trust' to your preferred auth method (password, md5, etc.)
>
> Check out the docs for authentication methods at
> http://www.postgresql.org/docs/7.4/interactive/client-
> authentication.html

Thanks Vinko that did the trick.

Ken


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Daylight Savings Time handling on persistent connections
Next
From: Randall Nortman
Date:
Subject: Re: Daylight Savings Time handling on persistent connections