From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
---|---|
To: | "Tsunakawa, Takayuki" <tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com> |
Cc: | Craig Ringer <craig(at)2ndquadrant(dot)com>, MauMau <maumau307(at)gmail(dot)com>, Breen Hagan <breen(at)rtda(dot)com>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Re: BUG #13755: pgwin32_is_service not checking if SECURITY_SERVICE_SID is disabled |
Date: | 2016-11-29 04:24:52 |
Message-ID: | CAB7nPqSrXouKpShAXb+6=eM6uo+DMF0hxoFmnoOLbw71_r4Rfw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | Postg사설 토토SQL : Postg사설 토토SQL 메일 링리스트 : 2016-11-29 이후 PGSQL-BUGS 04:24 Postg사설 토토 사이트SQL |
On Tue, Nov 22, 2016 at 1:58 PM, Tsunakawa, Takayuki
<tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com> wrote:
> From: Craig Ringer [mailto:craig(at)2ndquadrant(dot)com]
>> You meant CheckTokenMembership().
>
> Yes, my typo in the mail.
>
>> The proposed patch does need to be checked with:
>
> I understood you meant by "refuse to run" that postgres.exe fails to start below. Yes, I checked it on Win10. I don't have access to WinXP/2003 - Microsoft ended their support.
>
> if (pgwin32_is_admin())
> {
> write_stderr("Execution of PostgreSQL by a user with administrative permissions is not\n"
> "permitted.\n"
> "The server must be started under an unprivileged user ID to prevent\n"
> "possible system security compromises. See the documentation for\n"
> "more information on how to properly start the server.\n");
> exit(1);
> }
I have moved that to next CF. The refactoring patch needs more testing
but the basic fix patch could be applied.
--
Michael
From | Date | Subject | |
---|---|---|---|
Next Message | max.valjanski | 2016-11-29 14:16:39 | BUG #14439: Trigger function fails with internal error after upgrade to 9.6 |
Previous Message | Jonathon Nelson | 2016-11-28 19:39:28 | Bug in Physical Replication Slots (at least 9.5)? |
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2016-11-29 04:25:33 | Re: Proposal: scan key push down to heap [WIP] |
Previous Message | Michael Paquier | 2016-11-29 04:22:33 | Re: Time to up bgwriter_lru_maxpages? |