Re: Installing Postgresql on Linux Friendlyarm

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Xiang Gan <XiangGan(at)santaitech(dot)com>
Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Installing Postgresql on Linux Friendlyarm
Date: 2014-09-23 02:39:22
Message-ID: 3965.1411439962@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Xiang Gan <XiangGan(at)santaitech(dot)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 does not 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joel Avni 2014-09-23 05:04:56 Re: Question about Vacuum and Replication failures in 9.3.5
Previous Message Xiang Gan 2014-09-23 02:26:00 Re: Installing Postgresql on Linux Friendlyarm