From: | "Tarmo Tali" <tarmo(at)skype(dot)net> |
---|---|
To: | <pgsql-hackers-win32(at)postgresql(dot)org> |
Subject: | initdb crash (SC Manager permissions) |
Date: | 2004-07-10 18:33:41 |
Message-ID: | 20040710183343.169E8D1B1D0@svr1.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers-win32 |
Hello,
In a same way as may fellows I experience initdb crash during installation.
I was perfectly able to run previous version on my XP box (btw I really
enjoy running PostgreSQL on Windows). As it was time postmaster.exe refused
to run under admin rights it looked like permission issue so I flipped on
object access auditing on my postgres account I found following failure
audit entry in event viewer.
Object Open:
Object Server: SC Manager
Object Type: SC_MANAGER OBJECT
Object Name: ServicesActive
Handle ID: -
Operation ID: {0,1076464}
Process ID: 732
Image File Name: C:\WINDOWS\system32\services.exe
Primary User Name: TARMO$
Primary Domain: JOLTID
Primary Logon ID: (0x0,0x3E7)
Client User Name: postgres
Client Domain: TARMO
Client Logon ID: (0x0,0xD0578)
Accesses: Connect to service controller
Create a new service
Privileges: -
Restricted Sid Count: 0
It seem like initdb is trying to mess around with services but lacks
neccesary rights. Unfortunately enough SC manager rights are immutable and
as far as I can understand only SYSTEM and Administrators has neccesary
rights (I may be wrong here though).
It looks like setting up service requiresadmin rights (sound reasonable to
me) and once service is up it can run under restricted account (sound also
reasonable).
Best Regarda,
Tarmo
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2004-07-10 19:03:45 | Re: Weird new time zone |
Previous Message | Tom Lane | 2004-07-10 16:40:21 | Re: Weird new time zone |