Re: running postgresql with a different id other than postgres user

From: Kris Deugau <kdeugau(at)vianet(dot)ca>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: running postgresql with a different id other than postgres user
Date: 2016-07-20 20:16:55
Message-ID: 578FDC37.8080507@vianet.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jorge Torralba 2016-07-21 20:32:26 Large Number Of Sequences in Database
Previous Message Maki Smith (US - IFS) 2016-07-20 11:09:24 Re: running postgresql with a different id other than postgres user