Well, I don&#39;t know if you&#39;re gonna believe this, but:<br><br>[root@niceguy cgi-bin]# python<br>Python 2.3.4 (#1, Jan&nbsp; 9 2007, 16:40:09) <br>[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2<br>Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
<br>&gt;&gt;&gt; import psycopg2<br>&gt;&gt;&gt; db = psycopg2.connect(&quot;dbname=test user=postgres&quot;)<br>&gt;&gt;&gt; print db.status<br>1<br><br>Bam, connected as root.&nbsp; So, I go into PostGIS.py, and edit the connect line to:
<br><br>def begin (self):<br>&nbsp;&nbsp;&nbsp;&nbsp; self.db = psycopg2.connect(&quot;dbname=test user=postgres&quot;)<br><br><br>and....I still get permission denied<br>I checked my pg_hba.conf:<br># TYPE&nbsp; DATABASE&nbsp;&nbsp;&nbsp; USER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CIDR-ADDRESS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; METHOD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<br># &quot;local&quot; is for Unix domain socket connections only<br>local&nbsp;&nbsp; all&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; all&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; trust<br># IPv4 local connections:<br>host&nbsp;&nbsp;&nbsp; all&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; all&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://127.0.0.1/32">
127.0.0.1/32</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; trust<br># IPv6 local connections:<br>host&nbsp;&nbsp;&nbsp; all&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; all&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ::1/128&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; trust&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br><br>local was set to all/all/trust.&nbsp; I created a user, granted permissions, and then specified user=ed in the dsn.&nbsp; I&#39;m not sure if this is much different than user=postgres, but they both still gave me permission denied.
<br><br>So, I guess I&#39;ll start looking into reinstalling postgres with hopefully some looser permissioning.<br><br>Thanks again.<br>-Ed<br>