Re: Run-as-admin warning for win32

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Magnus Hagander <mha(at)sollentuna(dot)net>
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:07:31
Message-ID: 200405041507.i44F7VE01011@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2004-05-04 15:22:40 Re: Run-as-admin warning for win32
Previous Message Magnus Hagander 2004-05-04 15:00:46 Re: Run-as-admin warning for win32