Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bPxvV-0008Vh-FN for pgsql-admin@arkaria.postgresql.org; Wed, 20 Jul 2016 20:17:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bPxvU-0004m3-81 for pgsql-admin@arkaria.postgresql.org; Wed, 20 Jul 2016 20:17:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bPxvT-0004lZ-H9 for pgsql-admin@postgresql.org; Wed, 20 Jul 2016 20:17:03 +0000 Received: from smtp2.vianet.ca ([209.91.128.19]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bPxvP-0003aQ-FF for pgsql-admin@postgresql.org; Wed, 20 Jul 2016 20:17:02 +0000 Received: from pod.pem-lan (pem-goatfarm.vianet.ca [209.91.179.158]) (Authenticated sender: kdeugau@vianet.ca) by smtp2.vianet.ca (Postfix) with ESMTPSA id 5EFBB60B6E for ; Wed, 20 Jul 2016 16:16:59 -0400 (EDT) Message-ID: <578FDC37.8080507@vianet.ca> Date: Wed, 20 Jul 2016 16:16:55 -0400 From: Kris Deugau Organization: Vianet Internet Solutions User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26.1 MIME-Version: 1.0 To: "pgsql-admin@postgresql.org" Subject: Re: running postgresql with a different id other than postgres user References: <1964189799.3313708.1469002373028.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: Mail-Followup-To: pgsql-admin@postgresql.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -3.9 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Maki Smith (US - IFS) wrote: > I successfully installed from source with a different user other than > postgres on Ubuntu. > However now I am curious we can do any modification like this when I > install PostgreSQL via the tool, like apt-get or yum. > As you mentioned, these tools creates postgres user automatically. > > If we use a tool like this, we need to create another superuser as > post-installation procedure to switch user, and stop usage of postgres > default user.. > > Just curious.. how people is doing this type of scenario... Can you explain your security requirement in more detail? It sounds to me like you're going to a lot of effort for something that isn't going to do what you want to do, or what you think it'll do. It may also cause issues on package upgrades, because the packages will continue to operate on the assumption that the username created by the package is the one that Postgres is running under. You'd likely end up running Postgres in a by-hand enough manner that you may as well just install from source anyway. -kgd -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin