pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zdeněk Bělehrádek <zdenek.belehradek@superhosting.cz>
To: pgsql-admin@postgresql.org
Subject: Re: Installing Postgres without the postgres user and group on Linux?
Date: Wed, 23 Jan 2013 15:44:05 +0000
Message-ID: <2121443.Bpz4FRUI2g@blue> (raw)
In-Reply-To: <BD69807DAE0CE44CA00A8338D0FDD083034C920A5F@oma00cexmbx03.corp.westworlds.com>
References: <BD69807DAE0CE44CA00A8338D0FDD083034C920A5F@oma00cexmbx03.corp.westworlds.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (6+ messages)  latest in thread

Message-ID: <2121443.Bpz4FRUI2g@blue>
Permalink:  ../2121443.Bpz4FRUI2g@blue/
Also on:    postgresql.org/message-id/2121443.Bpz4FRUI2g@blue

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: zdenek.belehradek@superhosting.cz
  Subject: Re: Installing Postgres without the postgres user and group on Linux?
  In-Reply-To: <2121443.Bpz4FRUI2g@blue>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox