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 08:19:23
Message-ID: 200511150919.23995.andreak@officenet.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tuesday 15 November 2005 12:29 am, Jim C. Nasby wrote:
> Why do you need to run PostgreSQL as admin? There shouldn't be any need
> for this.

Actually I've run into a scenario where this was needed. I'm not a Windows
expert, so there might be some way to get around this:

I have a localadmin account on the workstation(which is a member of a domain).
As this localadmin(with full local administrative privileges) I created a
local user "postgres" to run PostgreSQL as. The problem was that the policy
for the domain the machine was a member of(which obviously overrides local
settings) prevented this new local user to have "local login" privileges.
Therefore I couldn't create a user to run the postmaster as. I was "stuck"
with my admin-user, which I was not able to start PG as. This was quite
frustrating as I really wanted to install Tomcat+PG to run a demo-webapp for
a customer on one of their machines. There really should be an option for
"Yes, I really want to run PG as a user with Administrator-privileges on
Windows. I promiss not to bug -hacker about any potential security-problems I
might experience".

--
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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2005-11-15 08:48:25 Re: Fixes for 8.1 run of pgindent
Previous Message Kaare Rasmussen 2005-11-15 07:36:06 Re: [ANNOUNCE] PostgreSQL Weekly News - November 13 2005