Re: How do the Linux distributions create the Linux user/group "postgres"?

From: Erik Wienhold <ewie(at)ewie(dot)name>
To: Matthias Apitz <guru(at)unixarea(dot)de>, Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: How do the Linux distributions create the Linux user/group "postgres"?
Date: 2023-01-09 13:18:01
Message-ID: 273828922.221693.1673270281402@office.mailbox.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> On 09/01/2023 13:41 CET Matthias Apitz <guru(at)unixarea(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Matthias Apitz 2023-01-09 13:27:19 Re: How do the Linux distributions create the Linux user/group "postgres"?
Previous Message Joe Conway 2023-01-09 13:15:33 Re: How do the Linux distributions create the Linux user/group "postgres"?