Re: How do the Linux distributions create the Linux user/group "postgres"? - Mailing list pgsql-general

From Erik Wienhold
Subject Re: How do the Linux distributions create the Linux user/group "postgres"?
Date
Msg-id 273828922.221693.1673270281402@office.mailbox.org
Whole thread Raw
In response to How do the Linux distributions create the Linux user/group "postgres"?  (Matthias Apitz <guru@unixarea.de>)
List pgsql-general
> 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



pgsql-general by date:

Previous
From: Joe Conway
Date:
Subject: Re: How do the Linux distributions create the Linux user/group "postgres"?
Next
From: Matthias Apitz
Date:
Subject: Re: How do the Linux distributions create the Linux user/group "postgres"?