Re: Run-as-admin warning for win32 - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Run-as-admin warning for win32
Date
Msg-id 200405041507.i44F7VE01011@candle.pha.pa.us
Whole thread Raw
In response to Re: Run-as-admin warning for win32  ("Magnus Hagander" <mha@sollentuna.net>)
Responses Re: Run-as-admin warning for win32
List pgsql-patches
Magnus Hagander wrote:
> > > 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".

Ewe, big on security, small on ease-of-use.  :-)

I have never had to create a user to install any other software on my
laptop.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: Run-as-admin warning for win32
Next
From: "Magnus Hagander"
Date:
Subject: Re: Run-as-admin warning for win32