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 <[EMAIL PROTECTED]> 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 | | ------------------------+---------------------------------------------+ ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend