Re: WINDOWS INSTALLATION TIPS

From: Richard Huxton <dev(at)archonet(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: INDIANNIC-HOSTING <hosting(at)indiannic(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: WINDOWS INSTALLATION TIPS
Date: 2008-02-12 09:13:06
Message-ID: 47B16322.2060303@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dave Page wrote:
> On Feb 12, 2008 8:19 AM, Richard Huxton <dev(at)archonet(dot)com> wrote:
>>> b) postgres database server will not install as an user with administrator
>>> rights.
>> Indeed not. Or rather, it won't run as an administrator. I think you
>> should be able to run the installer as Administrator and tell it to do
>> the next step for you. I'm sure someone will correct me if I'm wrong.
>
> Actually 8.2 and above will (quite safely) on Windows:
> http://www.postgresql.org/docs/faqs.FAQ_windows.html#2.3
>
> For the technically minded it does so by creating a restricted
> security token from which all administrative group memberships are
> removed and then re-execs itself using that token. The child process
> doesn't have the privileges to re-elevate itself which is what makes
> it safe.

So it still appears in process lists as belonging to e.g. "Adminstrator"
but has restricted perms? Ingenious, but a bit fiddly for a server
daemon for my tastes. Fortunately, I can safe safely on the *nix side of
the fence most of the time nowadays.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Oliver Weichhold 2008-02-12 10:10:49 TSearch2 Migration Guide from 8.2 to 8.3
Previous Message Dave Page 2008-02-12 09:06:06 Re: WINDOWS INSTALLATION TIPS