From: | Stuart Johnston <sjohnston(at)haisolutions(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: regular backups - super user |
Date: | 2003-10-31 21:48:31 |
Message-ID: | 3FA2D8AF.4050605@haisolutions.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
DeJuan Jackson wrote:
> quick answer: research/read the pg_hba.conf in the data directory.
>
> Jeff MacDonald wrote:
>
>> Hi,
>>
>> WHen i run pg_dumpall as the super user [postgres in my case] it asks
>> for a password for every database. I don't know my users passwords. Is
>> there a way to make the super user able to backup without passwords ?
If your users always connect through TCP/IP then you can set local
connections to not use passwords but I'm pretty sure there is no way to
configure this just for the postgres user (I wish you could).
If you need passworded local connections for users then you'll probably
want to turn on 'ident' mode just long enough to set the password for
the postgres user (or some other 'super user'). Then you may also want
to use the PGPASSWORD environment variable or the .pgpass file to avoid
typing the password repeatedly.
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2003-11-01 00:25:06 | Re: [OT] Choosing a scripting language. |
Previous Message | DeJuan Jackson | 2003-10-31 21:31:21 | Re: regular backups - super user |