Re: Installing Postgres without the postgres user and group on Linux?

From: Zdeněk Bělehrádek <zdenek(dot)belehradek(at)superhosting(dot)cz>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Installing Postgres without the postgres user and group on Linux?
Date: 2013-01-23 15:44:05
Message-ID: 2121443.Bpz4FRUI2g@blue
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> 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).
>
> 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?
>
> Thanks for any input that will provide me with ample ammunition to thwart
> this silly idea.
>
> Joe Plugge

Is there any problem with configuring postgres user and group in /etc/passwd
and /etc/group respectively? You can configure PAM to accept user
authentication from multiple sources. See e. g. http://ldots.org/ldap/

-- Zdeněk Bělehrádek

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Prashanth Ranjalkar 2013-01-23 15:45:08 Re: vacuum / analyze parent tables on partitioned tables.
Previous Message Bert 2013-01-23 14:46:42 Re: vacuum / analyze parent tables on partitioned tables.