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

From: Russell Hires (rhires@earthlink.net)
Date: Thu Apr 24 2003 - 22:08:16 EDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hang on...remember that postgres is client/server. You need to run the server
for postgres on Cygwin, don't you? You would only need a client connect to
the server from windows, and there is at least one postgres client that runs
on Windows...Now, you also have to configure your /etc/postgresql/pg_hba.conf
(or whatever the config file is called on your distro) to allow for a user to
connect from a non-local machine...which I believe the windows part would be
considered vs the cygwin side. (If I'm getting this part right -> that's how
it works with Mac-On-Linux anyway)

Part II postmaster is the server, and you don't log on to that. You only log
on using the client. You really shouldn't any direct interaction with the
postmaster. This is analagous to the shell and the kernel: you don't interact
with the kernel directly, you deal with the shell, which interacts with the
kernel. The postmaster should be started at startup, and then left alone...

HTH

Russell

> 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!
>
>
>
> __________________________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo
> http://search.yahoo.com

- --
Linux -- the OS for the Renaissance Man
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+qJiRAqKGrvVshJQRAjpiAJsEI4zUzXE8WpWmiG2aOocql3qjqACgxZQJ
2v0VWmvtJTm6/7UGFP/ZHqE=
=Jzhe
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:30:59 EDT