BUG #7767: pg_ctl allows postgres running under administrator's privilege

Поиск
Список
Период
Сортировка
От yangyd@cn.fujitsu.com
Тема BUG #7767: pg_ctl allows postgres running under administrator's privilege
Дата
Msg-id E1TlssR-0005xj-Sq@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #7767: pg_ctl allows postgres running under administrator's privilege  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      7767
Logged by:          yangyd
Email address:      yangyd@cn.fujitsu.com
PostgreSQL version: 9.2.2
Operating system:   Windows 7 Professional
Description:        =


I found that it's possible to start the postgres process as the
administrator of the system using `pg_ctl start -D data`, while `postgres -D
data` will complain "Execution of PostgreSQL by a user with administrative
permissions is not =

permitted."

I confirmed with Process Explorer that the postgres process created by
pg_ctl does running under the administrator account.

Is this behavior intended?
Thanks.

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

Предыдущее
От: zelaine@amazon.com
Дата:
Сообщение: BUG #7766: Running a DML statement that affects more than 4 billion rows results in an exception
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #7766: Running a DML statement that affects more than 4 billion rows results in an exception