Re: [SLUG] a simple cygwin question... I think.

From: Ed Centanni (ecentan1@tampabay.rr.com)
Date: Thu Apr 24 2003 - 23:09:29 EDT


Cygwin is not intended to be a production or general use environment.
It's a development environment for people who want to use friendly
GNU-like developent tools to write a windows exe. User accounts are
just not relevant and default to the current login on NT and I assume
the same for XP. Postgres checks the user account and refuses to run if
it is not what it's expecting. See if there is a cygwin port of it at
the cygwin site that disables this important security feature.

I know you can use Apache in Cygwin but you need to use the cygwin
server start utilities to start it as a service. You *may* be able to
start Postgresql via these utilites. If you wish, contact me off list
and I'll give you my cygwin apache startup script. Be advised that the
cygwin port of Apache is NOT secure and should not be exposed to the
wild. IMHO, no windows machine should expose a service to the internet
regardless of what it's running.

TCL-TK works just fine in Cygwin.

If you can't get Postgresql going then look at sqlite (www.sqlite.org).
    I know it works under cygwin with a 2 line tweak to it's os.h
header. It's quite fast, powerful and simple to use AND it has TCL
bindings build in -- probably a better choice for what you're wanting to
do. In fact, the regression tests are done using TCL. If you go this
route contact me and I'll give you the patched header.

Ed.

Jared Quedens wrote:
<snip>

>>
>>Paul
>>
>>
> Thanx Paul but thats the problem. I cant su postgres or even login as postgres i get
> authentication errors. I made a postgres user on the xp box but cant authenticate him in cygwin. I
> got everything in postgres working, by login as postgres to xp and auto-login to cygwin. the
> problem is running postmaster when im logged in under my regular name. To give you an idea of
> what im trying to do, I would like to run apache, postgres and a hell of a lot of tcl-cgi scripts.
> But to run tcl-cgi and postgres as a super user.. seems a little risky :-0. and stupid! so there
> must be way to do it.. just dont know how... Thanx again!
>
>
>
> Jared!
 



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:31:10 EDT