Re: Run-as-admin warning for win32

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Andrew Dunstan" <andrew(at)dunslane(dot)net>, <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Run-as-admin warning for win32
Date: 2004-05-04 15:00:46
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE34B923@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

> > The installer-skeleton I have right now permits
> installation as local
> > system but recommends a user account. But that's just
> functionality to
> > remove, so that's easily done. In the other case, it prompts for
> > username and password to run as.
>
> How would it install on an XP laptop? If I am logged in as
> myself and I am listed as a "Computer Administrator", do I
> need to create another user, and how do I do the install as
> that other user, and start/stop the server, and stuff like that?

Yes, you need to create another user.
When running as a service, just tell the installer. It should set up
required permissions. Then start the service as normal using the Service
Control Manager.

When running manually, you will have to grant the postgres user the
required permissions on the PGDATA directory. Then you can start the
server using "runas".

//Magnus

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-05-04 15:07:31 Re: Run-as-admin warning for win32
Previous Message Bruce Momjian 2004-05-04 14:56:12 Re: Run-as-admin warning for win32