Re: Installing PostgreSQL as "postgress" versus "root" Debate!

From: Christopher Browne <cbbrowne(at)acm(dot)org>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Installing PostgreSQL as "postgress" versus "root" Debate!
Date: 2005-01-13 17:40:03
Message-ID: m3brbt5ito.fsf@knuth.knuth.cbbrowne.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

In an attempt to throw the authorities off his trail, htomeh(at)firstam(dot)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/>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Dick Davies 2005-01-13 18:16:32 Re: Installing PostgreSQL as "postgress" versus "root" Debate!
Previous Message Christopher Browne 2005-01-13 17:36:12 Re: Installing PostgreSQL as "postgress" versus "root" Debate!