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

Поиск
Список
Период
Сортировка
От Erik Wienhold
Тема Re: How do the Linux distributions create the Linux user/group "postgres"?
Дата
Msg-id 273828922.221693.1673270281402@office.mailbox.org
обсуждение исходный текст
Ответ на How do the Linux distributions create the Linux user/group "postgres"?  (Matthias Apitz <guru@unixarea.de>)
Список 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 по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: How do the Linux distributions create the Linux user/group "postgres"?
Следующее
От: Matthias Apitz
Дата:
Сообщение: Re: How do the Linux distributions create the Linux user/group "postgres"?