From: Erik Wienhold <ewie@ewie.name>
To: Matthias Apitz <guru@unixarea.de>
To: Postgres General <pgsql-general@postgresql.org>
Subject: Re: How do the Linux distributions create the Linux user/group "postgres"?
Date: Mon, 9 Jan 2023 14:18:01 +0100 (CET)
Message-ID: <273828922.221693.1673270281402@office.mailbox.org> (raw)
In-Reply-To: <20230109124157.GA11@sh4-5.1blu.de>
References: <20230109124157.GA11@sh4-5.1blu.de>
> On 09/01/2023 13:41 CET Matthias Apitz <guru@unixarea.de> wrote:
>
> Hello,
>
> Please note: I'm talking about the user and group "postgres" in the
> Linux OS and not in the PostgreSQL server.
>
> We're compiling PostgreSQL from source (actually 14.1) and distribute that
> to our customers. They're asked to setup user and group "postgres"
> before creating the cluster. As nowadays there are a lot of setup such
> things in bigger installations, like LDAP or AD, etc. I'd like to know
> how other installations for Linux deal with this?
Arch Linux uses sysusers.d[1] to create user postgres[2][3].
[1] https://man.archlinux.org/man/sysusers.d.5
[2] https://github.com/archlinux/svntogit-packages/blob/packages/postgresql/trunk/PKGBUILD#L204
[3] https://github.com/archlinux/svntogit-packages/blob/packages/postgresql/trunk/postgresql.sysusers
--
Erik
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ewie@ewie.name, guru@unixarea.de
Subject: Re: How do the Linux distributions create the Linux user/group "postgres"?
In-Reply-To: <273828922.221693.1673270281402@office.mailbox.org>
References: <20230109124157.GA11@sh4-5.1blu.de> <273828922.221693.1673270281402@office.mailbox.org>
* 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