Package: phppgadmin
Version: 3.5.4-1
Severity: wishlist
Tags: patch

Hi,

because it might break other applications I do not like password authentication
for all users.  IMHO, the advise in /usr/share/doc/phppgadmin/README.Debian is
a little bit dangerous.  That's why I would like to add the following 
alternative:


--- README.Debian.orig  2005-07-18 11:38:53.000000000 +0200
+++ README.Debian       2005-08-12 09:43:15.000000000 +0200
@@ -37,3 +37,25 @@
 
   Now you should have access to your phppgadmin web interface using
   any user of the database with his/her password.
+
+ALTERNATIVE APPROACH
+
+  In case you want to avoid password authentication for all users (for
+  instance this might break some local applications which are designed to
+  work with ident authentication) the following approach is suggested:
+  
+  Create a special phppgadmin user:
+  
+  su - postgres
+  createuser --adduser --createdb --encrypted --pwprompt phppgadmin
+  
+  Insert the following line in your /etc/postgresql/pg_hba.conf file:
+  
+  local   all         phppgadmin                                      password
+
+  (make sure that it is above "local  all  all  ident sameuser")
+  
+  Then, restart the postmaster with /etc/init.d/postgresql restart.
+  
+  You should be able to login with phppgadmin and the password choosen
+  above into your management interface.


Kind regards and thanks for maintaining phppgadmin

        Andreas.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (501, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages phppgadmin depends on:
ii  apache2-mpm-prefork [httpd]  2.0.54-4    traditional model for Apache2
ii  debconf [debconf-2.0]        1.4.52      Debian configuration management sy
ii  libapache2-mod-php4          4:4.3.10-15 server-side, HTML-embedded scripti
ii  php4                         4:4.3.10-15 server-side, HTML-embedded scripti
ii  php4-pgsql                   3:4.3.10-5  PostgreSQL module for php4
ii  wwwconfig-common             0.0.43      Debian web auto configuration

Versions of packages phppgadmin recommends:
ii  postgresql                 7.4.7-6sarge1 object-relational SQL database man
ii  postgresql-doc             7.4.7-6sarge1 documentation for the PostgreSQL d

-- debconf information:
* phppgadmin/webserver: Apache2


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to