Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ty3Bs-0004kv-Rm for pgsql-admin@arkaria.postgresql.org; Wed, 23 Jan 2013 16:28:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Ty3Br-0007on-RT for pgsql-admin@arkaria.postgresql.org; Wed, 23 Jan 2013 16:28:43 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ty3Bq-0007oh-OX for pgsql-admin@postgresql.org; Wed, 23 Jan 2013 16:28:42 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ty3Bm-0008C6-U8 for pgsql-admin@postgresql.org; Wed, 23 Jan 2013 16:28:42 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r0NGSajY020632; Wed, 23 Jan 2013 11:28:36 -0500 (EST) From: Tom Lane To: "Plugge, Joe R." cc: "pgsql-admin@postgresql.org" Subject: Re: Installing Postgres without the postgres user and group on Linux? In-reply-to: References: Comments: In-reply-to "Plugge, Joe R." message dated "Wed, 23 Jan 2013 08:41:48 -0600" Date: Wed, 23 Jan 2013 11:28:36 -0500 Message-ID: <20631.1358958516@sss.pgh.pa.us> X-Pg-Spam-Score: -1.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 "Plugge, Joe R." writes: > Is it possible to install and then subsequently run the postgres engine on Linux without creating the postgres user and group? We have some folks implementing LDAP that are resistant to creating a postgres account and group and would rather create machine specific accounts (like one does for Windows with SQL Server). The server source code has no particular allegiance to any OS username. You can run it under whatever account you want. > I always thought that if the postgres user and group were not there upon install (which is done as root), that the installation process would create them for you, am I missing something? Particular packagings of Postgres might act like that --- for instance, the Fedora/Red Hat RPMs would try to create such a user&group. But you did not say whose packaging you were thinking of using. In any case you could run the executables under some other user ID if you then adjusted file ownerships and startup scripts appropriately. regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin