pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Darcy Buskermolen <darcy@wavefire.com>
Cc: 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: Wed, 12 Jan 2005 17:36:04 -0800
Message-ID: <41E5D084.6070401@commandprompt.com> (raw)
In-Reply-To: <200501121650.58255.darcy@wavefire.com>
References: <C45835824D00A844BBD0F032D5CDED9212FBDC@pisgana01sxch01.ana.firstamdata.com>
	<200501130100.32307.peter_e@gmx.net>
	<41E5C177.1000804@commandprompt.com>
	<200501121650.58255.darcy@wavefire.com>

Darcy Buskermolen wrote:

>On January 12, 2005 04:31 pm, Joshua D. Drake wrote:
>  
>
>>Peter Eisentraut wrote:
>>    
>>
>>>Tomeh, Husam wrote:
>>>      
>>>
>>>>I've seen book that prefer installing PostgreSQL as root and another
>>>>one recommends otherwise by first creating a postgres account and
>>>>then installing it as postgres. In the Oracle world, you don't use
>>>>root to install the software. What is the best practice as far as
>>>>PostgreSQL goes?
>>>>        
>>>>
>>>The current recommendation, which is reflected in the installation
>>>instructions, is to install the software as root and to use the
>>>postgres user for the database files.  The advice seen elsewhere in
>>>this thread to use the postgres user also for the software files is
>>>wrong.
>>>      
>>>
>>If the user owns the catalog, there is no reason for that user to not
>>also own the files.
>>
>>Sincerely,
>>
>>Joshua D. Drake
>>    
>>
>
>Isn't there a requiremnet of writing libpq.so to a location that ldconfig can 
>make use of it?  By default FreeBSD won't let you ldconfig a file that isn't 
>owned by root (or that is in a directory that is writeable by anybody other 
>than members of group 0).
>  
>
Now that is interesting. That is not a problem on Linux. I didn't
know that FreeBSD was like that.

Sincerely,

Joshua D. Drake



>
>
>  
>


-- 
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: <41E5D084.6070401@commandprompt.com>
Permalink:  ../41E5D084.6070401@commandprompt.com/
Also on:    postgresql.org/message-id/41E5D084.6070401@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, darcy@wavefire.com, peter_e@gmx.net, htomeh@firstam.com
  Subject: Re: Installing PostgreSQL as "postgress" versus "root" Debate!
  In-Reply-To: <41E5D084.6070401@commandprompt.com>
  References: <C45835824D00A844BBD0F032D5CDED9212FBDC@pisgana01sxch01.ana.firstamdata.com> <200501130100.32307.peter_e@gmx.net> <41E5C177.1000804@commandprompt.com> <200501121650.58255.darcy@wavefire.com> <41E5D084.6070401@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