Return-Path: owner-postman Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id OAA01936 for postgres-redist; Mon, 5 Dec 1994 14:02:23 -0800 Resent-From: POSTGRES mailing list Resent-Message-Id: <199412052202.OAA01936@nobozo.CS.Berkeley.EDU> X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from fourier.math.tamu.edu (fourier.math.tamu.edu [128.194.7.40]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with ESMTP id OAA01926 for ; Mon, 5 Dec 1994 14:02:21 -0800 Received: (brentb@localhost) by fourier.math.tamu.edu (8.6.8/8.6.4) id QAA23233; Mon, 5 Dec 1994 16:02:16 -0600 Date: Mon, 5 Dec 1994 16:02:16 -0600 From: Brent Burton Message-Id: <199412052202.QAA23233@fourier.math.tamu.edu> To: postgres@postgres.Berkeley.EDU Subject: Re: User semantics in Postgres Cc: brentb@fourier.math.tamu.edu Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Mon, 05 Dec 94 14:02:23 -0800 Resent-XMts: smtp Hello, again. I recently emailed a (badly phrased) question to the list concerning interfacing Postgres into our web. What I didn't explain very well was that I created a special user to work as both the httpd user, and as a postgres user. This new special user, then called 'stupid', failed to work. I'd like to thank Kacper.Nowicki@fuw.edu.pl for the correct solution: httpd does not set the USER or LOGNAME envariables that libpq requires. Once I set these, my gateway worked properly. Other gateway applications may need USER, LOGNAME, PATH and other envariables set for correct operation. Thanks, -Brent ============================================================================== To add/remove yourself to/from the POSTGRES mailing list: send mail with the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU". If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and a human will deal with it. DO NOT post to the "postgres" mailing list. ============================================================================== URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/