From: Christopher Petrilli <petrilli@gmail.com>
To: 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 18:47:00 -0500
Message-ID: <59d991c405011215476c7910e1@mail.gmail.com> (raw)
In-Reply-To: <C45835824D00A844BBD0F032D5CDED9212FBDC@pisgana01sxch01.ana.firstamdata.com>
References: <C45835824D00A844BBD0F032D5CDED9212FBDC@pisgana01sxch01.ana.firstamdata.com>
On Wed, 12 Jan 2005 15:30:06 -0800, Tomeh, Husam <htomeh@firstam.com> 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?
There is absolutely no reason to install as root. I always create a
user (for me, it's 'pgsql') and then run the installer as that user.
That does mean that the directory (/usr/local/pgsql/) must already be
created and owned (it's the home for my user).
The less done as root, the better.
Chris
--
| Christopher Petrilli
| petrilli@gmail.com
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: petrilli@gmail.com, htomeh@firstam.com
Subject: Re: Installing PostgreSQL as "postgress" versus "root" Debate!
In-Reply-To: <59d991c405011215476c7910e1@mail.gmail.com>
References: <C45835824D00A844BBD0F032D5CDED9212FBDC@pisgana01sxch01.ana.firstamdata.com> <59d991c405011215476c7910e1@mail.gmail.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