Re: Fix for running from admin account on win32

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Fix for running from admin account on win32
Date: 2006-02-10 22:06:50
Message-ID: 2243.1139609210@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

"Magnus Hagander" <mha(at)sollentuna(dot)net> writes:
> Attached is a two part patch for the admin functionality on win32.

> The first part is a simple bugfix to backend/port/win32/security.c. The
> function that checks if the user has admin privileges didn't check it
> the SID in the token was enabled or not.

Applied back to 8.0.

> The second part enables pg_ctl to give up admin privleges when starting
> the server.

Applied to HEAD only.

regards, tom lane

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-02-10 22:08:27 Re: [HACKERS] Fix for running from admin account on win32
Previous Message Martijn van Oosterhout 2006-02-10 21:49:12 Re: [COMMITTERS] pgsql: Allow psql multi-line column values to align