Re: Running PostGre on DVD

From: Andreas Joseph Krogh <andreak(at)officenet(dot)no>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Running PostGre on DVD
Date: 2005-11-15 13:42:41
Message-ID: 200511151442.41080.andreak@officenet.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tuesday 15 November 2005 02:16 pm, Pollard, Mike wrote:
> > I explain myself about running PostGre as admin.
> >
> > In fact I don't want specifically run PostGre as admin. The problem
>
> is, on
>
> > the computers the application including PostGre will run, I'm not sure
> > that
> > the user won't have any admin or power user rights. Furthermore, I've
> > noticed that on certain domains, any user created is automatically
>
> added
>
> > to
> > a default group having power user rights (that is actually happening
>
> to
>
> > me).
>
> To be honest, the fact that Postgres forces you to run as a non-admin
> user has given me nothing but headaches. (yes, I know, the problem is
> defaulting everyone to admin rights is the problem. But that's where I
> am). I have been kicking around the idea of posting a change to allow
> you to run as admin, but in the meanwhile if you can build Postgres on
> your machine, the fix is very easy. Go into src/backend/main/main.c and
> find the line
>
> if (pgwin32_is_admin())
>
> and change it to
>
> if (false && pgwin32_is_admin())

Thanks, I'll see if I can build PG on Windows now.

--
Andreas Joseph Krogh <andreak(at)officenet(dot)no>
Senior Software Developer / Manager
gpg public_key: http://dev.officenet.no/~andreak/public_key.asc
------------------------+---------------------------------------------+
OfficeNet AS | The most difficult thing in the world is to |
Hoffsveien 17 | know how to do a thing and to watch |
PO. Box 425 Skøyen | somebody else doing it wrong, without |
0213 Oslo | comment. |
NORWAY | |
Phone : +47 22 13 01 00 | |
Direct: +47 22 13 10 03 | |
Mobile: +47 909 56 963 | |
------------------------+---------------------------------------------+

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2005-11-15 13:43:01 Re: Running PostGre on DVD
Previous Message Andreas Joseph Krogh 2005-11-15 13:39:53 Re: Running PostGre on DVD