BUG #7767: pg_ctl allows postgres running under administrator's privilege - Mailing list pgsql-bugs

From yangyd@cn.fujitsu.com
Subject BUG #7767: pg_ctl allows postgres running under administrator's privilege
Date
Msg-id E1TlssR-0005xj-Sq@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #7767: pg_ctl allows postgres running under administrator's privilege
List 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 by date:

Previous
From: zelaine@amazon.com
Date:
Subject: BUG #7766: Running a DML statement that affects more than 4 billion rows results in an exception
Next
From: Tom Lane
Date:
Subject: Re: BUG #7766: Running a DML statement that affects more than 4 billion rows results in an exception