Re: should the postgres user have a password? - Mailing list pgsql-general

From Scott Marlowe
Subject Re: should the postgres user have a password?
Date
Msg-id 46684B21.4070709@g2switchworks.com
Whole thread Raw
In response to should the postgres user have a password?  ("Anton Melser" <melser.anton@gmail.com>)
List pgsql-general
Anton Melser wrote:
> Hi,
> I have never given postgres a password before, but one of my clients
> put one on his postgres user - I suppose so he could use the postgres
> user from phppgadmin (not my choice !).
> But now I can't see how to get my backup scripts to work... can I put
> the password for tools like pg_dumpall (or psql, or whatever) on the
> CL. There is no option in the docs...
> Would it be better to remove the password (if so, any pointers, I
> couldn't find that either!) and make postgres only able to connect via
> pipes?
> Thanks again,
> Anton
> ps. I did google but obviously couldn't find the right combo of
> keywords...

ALso, you can create a user for backups, give them superuser powers, and
make an entry in your pg_hba.conf file for that user from a specific
machine / IP can connect without a password.

pgsql-general by date:

Previous
From: "codeWarrior"
Date:
Subject: Re: querying the age of a row
Next
From: "Lonni J Friedman"
Date:
Subject: Re: querying the age of a row