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 VAA19897 for postgres-redist; Fri, 2 Dec 1994 21:47:22 -0800 Resent-From: POSTGRES mailing list Resent-Message-Id: <199412030547.VAA19897@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 VAA19887 for ; Fri, 2 Dec 1994 21:47:18 -0800 Received: (brentb@localhost) by fourier.math.tamu.edu (8.6.8/8.6.4) id XAA05925 for postgres@postgres.berkeley.edu; Fri, 2 Dec 1994 23:47:13 -0600 Date: Fri, 2 Dec 1994 23:47:13 -0600 From: Brent Burton Message-Id: <199412030547.XAA05925@fourier.math.tamu.edu> To: postgres@postgres.Berkeley.EDU Subject: User semantics in Postgres Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Fri, 02 Dec 94 21:47:22 -0800 Resent-XMts: smtp Hello, I am trying to create a gateway between Postgres and HTTP and I'm running into some problems. To make a long story short, httpd normally runs as user nobody. I added nobody to the database as userid 65534 (same as unix), but postgres later reports it as -2 (the 16-bit signed representation of 65534). Thinking this may be the problem, I then create user stupid (uid 25) and add stupid to the database. In the meantime, httpd is restarted and configured to run as stupid (so the gateway will be setuid stupid). Neither of the above techniques worked; the monitor fails with the error: "/usr/local/postgres/bin/monitor: could not find a valid user name" Can somebody please explain what the monitor looks for concerning uid/eid's? Has anybody else solved a similar problem? Thanks for your time and I appreciate any tips. -bpb Brent.Burton@math.tamu.edu ============================================================================== 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/