| From: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de>, Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: PGPASSWORD and client tools |
| Date: | 2004-08-19 02:03:57 |
| Message-ID: | 41240A8D.2040200@familyhealth.com.au |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches |
> It's deprecated because it's insecure, on platforms where other users can
> see the environment variables passed to pg_dump (which apparently is
> quite a few variants of Unix). You wouldn't pass the password on the
> command line either ...
>
> Painful as .pgpass may be for an admin tool, I do not know of any other
> method I'd recommend on a multiuser machine.
OK, but say you have a phpPgAdmin installation that's servicing 20
users. Then you have to put a .pgpass file in the www home dir (if
there is one) with the usernames and passwords of all those users -
pretty damn annoying...
Chris
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2004-08-19 02:07:20 | Re: PGPASSWORD and client tools |
| Previous Message | Tom Lane | 2004-08-19 02:03:00 | More fun with dropped columns |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2004-08-19 02:07:20 | Re: PGPASSWORD and client tools |
| Previous Message | Andrew Dunstan | 2004-08-19 02:02:49 | Re: PGPASSWORD and client tools |