Thread: Authentication

Authentication

From
"Christine Kluka"
Date:
I am trying to connect to postgres from a cgi script.  In order for it to connect to postgres,
I need to create a new postgres user that matches the Unix owner of my Web files.  I don't get an error on create user,
butI cannot find a pg_shadow file.  Is the pg_shadow file supposed to be in my pgsql directory or is it generated by a
commandsomewhere? 

I'm using my backup mail account to send this, hope it'll work...

--------------------------------------------------
Totally Amazing Search Results - Just C4 Yourself!
http://www.C4.com - Total Search Technology

Re: Authentication

From
will trillich
Date:
On Mon, May 14, 2001 at 02:26:46PM -0000, Christine Kluka wrote:
> I am trying to connect to postgres from a cgi script.  In
> order for it to connect to postgres, I need to create a new
> postgres user that matches the Unix owner of my Web files.  I
> don't get an error on create user, but I cannot find a
> pg_shadow file.  Is the pg_shadow file supposed to be in my
> pgsql directory or is it generated by a command somewhere?

pg_shadow is one of the postgres database files.

    % psql
    > \dS

also try

    > \d pg_user

it's neat to discover how they hide those passwords.

--
What do I need manners for? I already got me a wife.
    -- Adam Pontipee, "Seven Brides for Seven Brothers"

will@serensoft.com
http://sourceforge.net/projects/newbiedoc -- we need your brain!
http://www.dontUthink.com/ -- your brain needs us!