pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christopher Browne <cbbrowne@acm.org>
To: pgsql-admin@postgresql.org
Subject: Re: Installing PostgreSQL as "postgress" versus "root" Debate!
Date: Thu, 13 Jan 2005 12:40:03 -0500
Message-ID: <m3brbt5ito.fsf@knuth.knuth.cbbrowne.com> (raw)
References: <C45835824D00A844BBD0F032D5CDED9212FBDC@pisgana01sxch01.ana.firstamdata.com>

In an attempt to throw the authorities off his trail, htomeh@firstam.com ("Tomeh, Husam") transmitted:
> 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?

"Best practices" tend to vary.

If you are installing software using "package management" tools, then
it is mandatory that you install it as some form of "administrative"
user (e.g. - root) because typical package management tools require
root access.  

(That's true whether we're talking about the RPM package manager that
Caldera paid RHAT to develop, dpkg used by Debian, BSD Ports, or
pkgadd used by sundry systems.)

I happen to do much of my work in "managed hosting" environments where
I may not even have root access.  In those environments, the "best
practice" is the "mandatory practice" and is to get a postgres user
set up and to have that user install the software.
-- 
wm(X,Y):-write(X),write('@'),write(Y). wm('cbbrowne','acm.org').
http://www.ntlug.org/~cbbrowne/emacs.html
Rules of the  Evil Overlord #94. "When arresting  prisoners, my guards
will  not allow  them to  stop and  grab a  useless trinket  of purely
sentimental value." <http://www.eviloverlord.com/;



view thread (48+ messages)  latest in thread

Message-ID: <m3brbt5ito.fsf@knuth.knuth.cbbrowne.com>
Permalink:  ../m3brbt5ito.fsf@knuth.knuth.cbbrowne.com/
Also on:    postgresql.org/message-id/m3brbt5ito.fsf@knuth.knuth.cbbrowne.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: cbbrowne@acm.org
  Subject: Re: Installing PostgreSQL as "postgress" versus "root" Debate!
  In-Reply-To: <m3brbt5ito.fsf@knuth.knuth.cbbrowne.com>
  References: <C45835824D00A844BBD0F032D5CDED9212FBDC@pisgana01sxch01.ana.firstamdata.com> <m3brbt5ito.fsf@knuth.knuth.cbbrowne.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