pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sergio A. Kessler <ser@perio.unlp.edu.ar>
To: pgsql-interfaces@postgreSQL.org <pgsql-interfaces@postgreSQL.org>
Subject: Re: [INTERFACES] pg_pwd
Date: Fri, 19 Nov 1999 19:08:59 -0300
Message-ID: <3835CA7B.5D7FF6F3@perio.unlp.edu.ar> (raw)
References: <300.942969906@sss.pgh.pa.us>

Tom Lane wrote:
> 
> "Sergio A. Kessler" <ser@perio.unlp.edu.ar> writes:
> > what is the funcionality of the file pg_pwd in $PG_DATA ?
> > (no, there is _nothing_ in the docs)
> 
> That's cause you don't need to know ;-)
> 
> Seriously, it's a flat-file copy of pg_shadow, used by the postmaster
> to do password verification.  (The postmaster can't look directly at
> pg_shadow because it cannot participate in database operations.)
> See doc/TODO.detail/pg_shadow.

where ? can you post an absolute url ?

> > and why is world =writable & readable= ?
> > (hey, everybody, wanna know my passwd ?)
> 
> It's not really a security hole because it lives inside a directory
> that's mode 700 (unless you tampered with the default permissions
> setup). 

in rh6.1 /var/lib/pgsql is 755 (and no, I haven't changed anything)
can you spell "2_KM_DIAMETER_HOLE" ?

> However, I agree it oughta be changed anyway.

having a text file with usernames and *passwords in clear*
world readable & writable make me feel nervous, pretty nervous.
indeed the root user (who isn't the dba) can know anything too
easy...

-- 
-=  Sergio A. Kessler     ==    http://sak.org.ar  =-
You can have it soon, cheap and working; choose *two*.



view thread (13+ messages)  latest in thread

Message-ID: <3835CA7B.5D7FF6F3@perio.unlp.edu.ar>
Permalink:  ../3835CA7B.5D7FF6F3@perio.unlp.edu.ar/
Also on:    postgresql.org/message-id/3835CA7B.5D7FF6F3@perio.unlp.edu.ar

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: ser@perio.unlp.edu.ar
  Subject: Re: [INTERFACES] pg_pwd
  In-Reply-To: <3835CA7B.5D7FF6F3@perio.unlp.edu.ar>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox