Received: from server (client-sp03-85.speedex.net [208.33.90.85]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f4G5RvA55055 for ; Wed, 16 May 2001 01:27:57 -0400 (EDT) (envelope-from will@serensoft.com) Received: from will by server with local (Exim 3.12 #1 (Debian)) id 14ztqm-0008Ab-00 for ; Wed, 16 May 2001 00:27:56 -0500 Date: Wed, 16 May 2001 00:27:56 -0500 From: will trillich To: pgsql-general@postgresql.org Subject: Re: Authentication Message-ID: <20010516002756.N29095@serensoft.com> Mail-Followup-To: pgsql-general@postgresql.org References: <20010514142646.5651.qmail@purina.chek.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010514142646.5651.qmail@purina.chek.com>; from klukac@c4.com on Mon, May 14, 2001 at 02:26:46PM -0000 X-Archive-Number: 200105/701 X-Sequence-Number: 9577 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!