initdb crash (SC Manager permissions)
От | Tarmo Tali |
---|---|
Тема | initdb crash (SC Manager permissions) |
Дата | |
Msg-id | 20040710183343.169E8D1B1D0@svr1.postgresql.org обсуждение исходный текст |
Список | 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
В списке pgsql-hackers-win32 по дате отправления: