Re: Installing Postgresql on Linux Friendlyarm - Mailing list pgsql-general

From Tom Lane
Subject Re: Installing Postgresql on Linux Friendlyarm
Date
Msg-id 3965.1411439962@sss.pgh.pa.us
Whole thread Raw
In response to Re: Installing Postgresql on Linux Friendlyarm  (Xiang Gan <XiangGan@santaitech.com>)
Responses Re: Installing Postgresql on Linux Friendlyarm  (Abelard Hoffman <abelardhoffman@gmail.com>)
Re: Installing Postgresql on Linux Friendlyarm  (Xiang Gan <XiangGan@santaitech.com>)
List 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 by date:

Previous
From: Xiang Gan
Date:
Subject: Re: Installing Postgresql on Linux Friendlyarm
Next
From: Joel Avni
Date:
Subject: Re: Question about Vacuum and Replication failures in 9.3.5