agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Brent Burton <Brent.Burton@math.tamu.edu>
To: postgres@postgres.Berkeley.EDU
Subject: User semantics in Postgres
Date: Fri, 2 Dec 1994 23:47:13 -0600
Message-ID: <199412030547.XAA05925@fourier.math.tamu.edu> (raw)


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/



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: postgres@postgres.berkeley.edu
  Cc: Brent.Burton@math.tamu.edu
  Subject: Re: User semantics in Postgres
  In-Reply-To: <199412030547.XAA05925@fourier.math.tamu.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox