pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Smith, Andy V <andy.v.smith@citi.com>
Cc: 'pgsql-admin@postgresql.org' <pgsql-admin@postgresql.org>
Subject: Re: file permissions for /usr/bin/postgres
Date: Wed, 13 Jul 2011 11:40:58 -0400
Message-ID: <5210.1310571658@sss.pgh.pa.us> (raw)
In-Reply-To: <4F245A072491544EB83F085AD6AADFC7011B9DEE07@exlnmb02.eur.nsroot.net>
References: <4F245A072491544EB83F085AD6AADFC7011B9DEE07@exlnmb02.eur.nsroot.net>

"Smith, Andy V " <andy.v.smith@citi.com> writes:
> Can someone please advise what the most secure permissions are allowed for /usr/bin/postgres ?
> At the moment we have:

> -bash-3.2# ls -lt /usr/bin/postgres
> -rwxr-xr-x 1 root root 4574696 Jan 28 19:31 /usr/bin/postgres

> This is not considered secure.

"Not considered secure" by whom, and on what grounds?  Those are pretty
much the standard permission settings for any executable in /usr/bin.
What threat do you suppose you'll ameliorate by changing them?

			regards, tom lane



view thread (3+ messages)

Message-ID: <5210.1310571658@sss.pgh.pa.us>
Permalink:  ../5210.1310571658@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5210.1310571658@sss.pgh.pa.us

 · 

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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andy.v.smith@citi.com
  Subject: Re: file permissions for /usr/bin/postgres
  In-Reply-To: <5210.1310571658@sss.pgh.pa.us>

* 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