Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tm54K-0005bT-QU for pgsql-bugs@arkaria.postgresql.org; Fri, 21 Dec 2012 16:03:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Tm54J-0001wl-G8 for pgsql-bugs@arkaria.postgresql.org; Fri, 21 Dec 2012 16:03:27 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TlssV-0000Wk-Tw for pgsql-bugs@postgresql.org; Fri, 21 Dec 2012 03:02:28 +0000 Received: from mahout.postgresql.org ([98.129.198.123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TlssT-0006Wb-M9 for pgsql-bugs@postgresql.org; Fri, 21 Dec 2012 03:02:27 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TlssS-0001fw-E1 for pgsql-bugs@postgresql.org; Fri, 21 Dec 2012 03:02:25 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1TlssR-0005xj-Sq for pgsql-bugs@postgresql.org; Fri, 21 Dec 2012 03:02:23 +0000 Date: Fri, 21 Dec 2012 03:02:23 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #7767: pg_ctl allows postgres running under administrator's privilege To: pgsql-bugs@postgresql.org From: yangyd@cn.fujitsu.com X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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:=20=20=20=20=20=20=20=20 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=20 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. --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs