Re: running postgresql with a different id other than postgres user - Mailing list pgsql-admin

From Wolfgang Wilhelm
Subject Re: running postgresql with a different id other than postgres user
Date
Msg-id 1964189799.3313708.1469002373028.JavaMail.yahoo@mail.yahoo.com
Whole thread Raw
In response to Re: running postgresql with a different id other than postgres user  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: running postgresql with a different id other than postgres user  ("Maki Smith (US - IFS)" <maki.smith@pwc.com>)
List pgsql-admin
Hello,

a little more information would be helpful.
But to make things short: The user who starts the initdb command is the database admin user. When you install PostgreSQL via the tool of your distribution like apt (Debian), yum or whatever then the package manager generates the user postgres and executes initdb as user postgres.

Kind regards,
Wolfgang




David G. Johnston <david.g.johnston@gmail.com> schrieb am 21:34 Dienstag, 19.Juli 2016:


On Tue, Jul 19, 2016 at 3:16 PM, Maki Smith (US - IFS) <maki.smith@pwc.com> wrote:
To meet our security requirement, we would like to use another account other than postgres to install and run postgreSQL.  Is this possible to do?


​You need to tell us by what method you intend to install PostgreSQL, and on what platform, before this can be usefully answered.​

The documentation covers how to go about installing from source.  It should cover how to choose a label different than "postgres" if you so desire.

David J.



pgsql-admin by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: running postgresql with a different id other than postgres user
Next
From: "Gupta, Amar Nath"
Date:
Subject: High-end PG database configuration help