pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Tomeh, Husam <htomeh@firstam.com>
Cc: PgSQL ADMIN <pgsql-admin@postgresql.org>
Subject: Re: Installing PostgreSQL as "postgress" versus "root" Debate!
Date: Thu, 13 Jan 2005 06:55:25 -0800
Message-ID: <41E68BDD.8070608@commandprompt.com> (raw)
In-Reply-To: <200501130927.42130.peter_e@gmx.net>
References: <C45835824D00A844BBD0F032D5CDED9212FBDC@pisgana01sxch01.ana.firstamdata.com>
	<200501130100.32307.peter_e@gmx.net>
	<200501130927.42130.peter_e@gmx.net>


>Those who dismiss this advice as my own imagination may want to check 
>how other server packages are installed on their system.
>
>What user does sshd run under?  Who owns /usr/sbin/sshd?
>
>What user does the MTA run under?  Who owns the binaries?
>
>What user does Apache run under?  Who owns the binaries?
>
>etc.
>  
>
Peter is correct on this. Most daemon level items typically
run as their own user to protect the rest of the system.

Sincerely,

Joshua D. Drake



>On my system, the answer is sshd/postfix/www-data on the one side and 
>root on the other.  Therefore it is consistent to use postgres and root 
>for PostgreSQL.  If your system uses a different distribution of users, 
>you may want to adjust the PostgreSQL installation accordingly.  But 
>note that this voids your warranty because it is not covered by the 
>installation instructions. :)
>
>  
>


-- 
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-667-4564 - jd@commandprompt.com - http://www.commandprompt.com
PostgreSQL Replicator -- production quality replication for PostgreSQL

Attachments:

jd.vcf (text/x-vcard, 283B) download begin:vcard fn:Joshua Drake n:Drake;Joshua org:Command Prompt, Inc. adr:;;PO Box 215 ;Cascade Locks;OR;97014;US email;internet:jd@commandprompt.com title:Consultant tel;work:503-667-4564 tel;fax:503-210-0334 x-mozilla-html:FALSE url:http://www.commandprompt.com version:2.1 end:vcard

view thread (48+ messages)  latest in thread

Message-ID: <41E68BDD.8070608@commandprompt.com>
Permalink:  ../41E68BDD.8070608@commandprompt.com/
Also on:    postgresql.org/message-id/41E68BDD.8070608@commandprompt.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jd@commandprompt.com, peter_e@gmx.net, htomeh@firstam.com
  Subject: Re: Installing PostgreSQL as "postgress" versus "root" Debate!
  In-Reply-To: <41E68BDD.8070608@commandprompt.com>
  References: <C45835824D00A844BBD0F032D5CDED9212FBDC@pisgana01sxch01.ana.firstamdata.com> <200501130100.32307.peter_e@gmx.net> <200501130927.42130.peter_e@gmx.net> <41E68BDD.8070608@commandprompt.com>

* 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