pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: 枫 <liufeng_leo@qq.com>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: can I use privileged user operate pg, and how?
Date: Wed, 31 Oct 2018 12:57:05 +0100
Message-ID: <149dcb2953e0d39a5618c81e784f00f6edc48783.camel@cybertec.at> (raw)
In-Reply-To: <tencent_6C0F5FA4103054F2EAE97B6A5C592965B80A@qq.com>
References: <tencent_6C0F5FA4103054F2EAE97B6A5C592965B80A@qq.com>

枫 wrote:
> The routine of using pg is first adding unprivileged user group and user, starting pg via the new user.
> 
> For the safety software and the safety rule of my company.It is not easy to add a unprivileged user to operate pg.
> 
> Can I have a way to change the restriction of the unprivileged user of pg, I want to start pg with root user.if does, how?
> 
> Additionally, I want to know Y pg should be operate with unprivileged user, and the risk when  privileged user operate pg?

Are you saying that the security policy of your company forces you to
run software as root rather than as an ordinary user?

If yes, you should get rid of the people who came up with
that policy.

PostgreSQL must be run as a normal user for security reasons, namely
to limit the negative effects of software bugs and user attacks.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com





view thread (2+ messages)

Message-ID: <149dcb2953e0d39a5618c81e784f00f6edc48783.camel@cybertec.at>
Permalink:  ../149dcb2953e0d39a5618c81e784f00f6edc48783.camel@cybertec.at/
Also on:    postgresql.org/message-id/149dcb2953e0d39a5618c81e784f00f6edc48783.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, liufeng_leo@qq.com
  Subject: Re: can I use privileged user operate pg, and how?
  In-Reply-To: <149dcb2953e0d39a5618c81e784f00f6edc48783.camel@cybertec.at>
  References: <tencent_6C0F5FA4103054F2EAE97B6A5C592965B80A@qq.com> <149dcb2953e0d39a5618c81e784f00f6edc48783.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox