Skip site navigation (1) Skip section navigation (2)

Re: [GENERAL] worried about PGPASSWORD drop

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)atentus(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: [GENERAL] worried about PGPASSWORD drop
Date: 2002-08-29 23:06:35
Message-ID: 200208292306.g7TN6ZG08318@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-patches
Patch applied.  Thanks.

---------------------------------------------------------------------------


Alvaro Herrera wrote:
> En Wed, 28 Aug 2002 17:33:34 -0400 (EDT)
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> escribi?:
> 
> > Alvaro Herrera wrote:
> > > Bruce Momjian dijo: 
> > > 
> > > > Tom Lane wrote:
> > > 
> > > > > If you want to put in security restrictions that are actually useful,
> > > > > where is the code to verify that PGPASSWORDFILE points at a
> > > > > non-world-readable file?  That needs to be there now, not later, or
> > > > > we'll have people moaning about backward compatibility when we finally
> > > > > do plug that hole.
> > > > 
> > > > Agreed.
> > > 
> > > Point taken, will look into it later.
> > 
> > Here is some code from postmaster.c that may help:
> 
> Thank you.  Patch attached.  Note that it also checks group access; I think
> that is desired as well.
> 
> -- 
> Alvaro Herrera (<alvherre[a]atentus.com>)
> "Cuando ma?ana llegue pelearemos segun lo que ma?ana exija" (Mowgli)

[ Attachment, skipping... ]

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-patches by date

Next:From: Justin CliftDate: 2002-08-29 23:18:04
Subject: Re: Patch for pt_BR (libpq) - part two
Previous:From: Bruce MomjianDate: 2002-08-29 23:03:52
Subject: Re: contrib/cube patches

pgsql-general by date

Next:From: Bruce MomjianDate: 2002-08-29 23:36:34
Subject: Re: [GENERAL] worried about PGPASSWORD drop
Previous:From: Nigel J. AndrewsDate: 2002-08-29 22:06:15
Subject: Re: [GENERAL] worried about PGPASSWORD drop

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group