Обсуждение: postgres user home dir

Поиск
Список
Период
Сортировка

postgres user home dir

От
Don Seiler
Дата:
Good afternoon all,

Just writing to confirm that the postgresql-common package will _always_ create the postgres user to have its home directory in /var/lib/postgresql? Is that configurable at all?

Thanks,
Don.

--
Don Seiler
www.seiler.us

Re: postgres user home dir

От
Christoph Berg
Дата:
Am 2. Juni 2023 20:08:33 MESZ schrieb Don Seiler <don@seiler.us>:
Good afternoon all,

Just writing to confirm that the postgresql-common package will _always_ create the postgres user to have its home directory in /var/lib/postgresql? Is that configurable at all?

Thanks,
Don.


Hi Don,

You can configure it by creating the user before installing the package

Christoph

Re: postgres user home dir

От
Don Seiler
Дата:
On Sat, Jun 3, 2023, 02:07 Christoph Berg <cb@df7cb.de> wrote:

You can configure it by creating the user before installing the package

Ok but otherwise the package will always use /var/lib/postgresql then if it is the one creating the user?

Thanks,
Don.

Re: postgres user home dir

От
Aaron Pavely
Дата:
On Sat, Jun 3, 2023 at 9:41 AM Don Seiler <don@seiler.us> wrote:
On Sat, Jun 3, 2023, 02:07 Christoph Berg <cb@df7cb.de> wrote:

You can configure it by creating the user before installing the package

Ok but otherwise the package will always use /var/lib/postgresql then if it is the one creating the user?

Thanks,
Don.