Re: PostgreSQL on system with root as only user

Поиск
Список
Период
Сортировка
От Chris Mair
Тема Re: PostgreSQL on system with root as only user
Дата
Msg-id 1156942884.21473.5.camel@ultra.home.lan
обсуждение исходный текст
Ответ на PostgreSQL on system with root as only user  ("Fredrik Israelsson" <fredrik.israelsson@eu.biotage.com>)
Ответы Re: PostgreSQL on system with root as only user  (AgentM <agentm@themactionfaction.com>)
Список pgsql-general
> I am about to install PostgreSQL on a minimal Linux system, where root
> is the only user that is allowed to exist. I would prefer to use a
> binary installer. Is it possible to install PostgreSQL without the
> postgres user?

PostgreSQL refuses to start up as root user for security
reasons (this is a feature).

If you know what you're doing and you want to disable that
feature you need to recompile from source and disable the
uid checks in src/backend/main/main.c.

Unless you're working in the embedded space or some such thing,
I don't think it's a good idea, anyway.

Bye :)
Chris.


--

Chris Mair
http://www.1006.org


В списке pgsql-general по дате отправления:

Предыдущее
От: Pantelis Natsiavas
Дата:
Сообщение: Encoding problem
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PostgreSQL on system with root as only user