Re: Installing Postgresql on Linux Friendlyarm

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Installing Postgresql on Linux Friendlyarm
Дата
Msg-id 3965.1411439962@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Installing Postgresql on Linux Friendlyarm  (Xiang Gan <XiangGan@santaitech.com>)
Ответы Re: Installing Postgresql on Linux Friendlyarm  (Abelard Hoffman <abelardhoffman@gmail.com>)
Re: Installing Postgresql on Linux Friendlyarm  (Xiang Gan <XiangGan@santaitech.com>)
Список pgsql-general
Xiang Gan <XiangGan@santaitech.com> writes:
> OK. So a stupid question, whether there is any possibility to run Postgresql as root? (I know this is forbidden
generally.But what I find out is that in Linux FriendlyArm environment, root could create socket while non-root user
doesnot have such privilege) 

So, it's not so much FriendlyArm as StupidAndUselessArm?  What sort of nut
would think that all network services should run as root?

The short answer to your question is that if you're so inclined, you
can easily find and dike out the no-root check in the server source
code.  But the Postgres project never has and never will publish a
version with that check removed or compromised in any way, and we will
not provide support if you have any problems running the server that way.
We do not believe it's advisable to run network-accessible services
as root.

            regards, tom lane


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

Предыдущее
От: Xiang Gan
Дата:
Сообщение: Re: Installing Postgresql on Linux Friendlyarm
Следующее
От: Joel Avni
Дата:
Сообщение: Re: Question about Vacuum and Replication failures in 9.3.5