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

From: yangyd(at)cn(dot)fujitsu(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #7767: pg_ctl allows postgres running under administrator's privilege
Date: 2012-12-21 03:02:23
Message-ID: E1TlssR-0005xj-Sq@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 7767
Logged by: yangyd
Email address: yangyd(at)cn(dot)fujitsu(dot)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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Paragon Corporation 2012-12-21 09:06:57 Re: BUG #7756: When upgrading postgis extension get row is too big: size 9272, maximum size 8160
Previous Message Tom Lane 2012-12-20 22:32:32 Re: BUG #7761: Out of memory when running pg_dump