Re: Running PostgreSQL on Windows - Mailing list pgsql-cygwin

From joek hondius
Subject Re: Running PostgreSQL on Windows
Date
Msg-id BPEGLGNPDJFJPGEFPMNGEEGDFAAA.jhondius@rem.nl
Whole thread Raw
In response to Running PostgreSQL on Windows  ("Akhona Damane" <adamane@csir.co.za>)
List pgsql-cygwin
Hi.
Nice pages on installing PostgreSQL on windows..

Here's an additional tip.
1) Before installing as a service add user "postgres" to your system, the
windows way.
   you will use this to run ipc deamon and postmaster under.
   ipc-deamon will be set so that it will only accept calls from postgres.
   start -> run.. -> lusrmgr.msc, OK (on a non ActiveDir machine that is)
2) This user postgres needs special rights: Log on as a service. do:
start -> run.. -> secpol.msc, OK -> and postgres user to the right.
3) use the tigt-security option and install both services under postgres
account. example:
   cygrunsrv.exe --install ipc-daemon --desc "IPC Server for Postmaster
Service" --path /bin/ipc-daemon.exe \
     --user postgres --passwd${pgpass} --args --tight-security
   cygrunsrv.exe --install postmaster --desc "PostgreSQL Database Management
System Service"  \
     --path /bin/postmaster --args "-D /data -i"  --dep ipc-daemon --termsig
INT --user postgres  --passwd ${pgpass}
4) Restrict file permissions on the "data" dir to postgres user.

Joek

--- original message ----
Hi all

Maybe this will help:
http://www.jhauser.com/index.php?src=pgwin32

Regards
Conni


pgsql-cygwin by date:

Previous
From: Sugandhi G
Date:
Subject: unsubscribe
Next
From: "Kamalraj Singh Madhan"
Date:
Subject: Dump Restore