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

Поиск
Список
Период
Сортировка
От Christopher Petrilli
Тема Re: Installing PostgreSQL as "postgress" versus "root" Debate!
Дата
Msg-id 59d991c405011215476c7910e1@mail.gmail.com
обсуждение исходный текст
Ответ на Installing PostgreSQL as "postgress" versus "root" Debate!  ("Tomeh, Husam" <htomeh@firstam.com>)
Список pgsql-admin
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

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Installing PostgreSQL as "postgress" versus "root" Debate!
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Installing PostgreSQL as "postgress" versus "root" Debate!