pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Wang Jun <daxiawj@gmail.com>
To: Michael Fuhr <mike@fuhr.org>
Cc: pgsql-admin@postgresql.org
Subject: [Re]:User Admin in pgsql
Date: Wed, 15 Dec 2004 20:42:17 +0800
Message-ID: <1103114537.8185.9.camel@localhost.localdomain> (raw)


> > After I Updatded my pgsql from 7.3 to 7.4.6 in debian with
> "aptitude", I
> > found that my admin user account's password has gone--everytime when
> I
> > login into  psql, I don't need type my password any more, and every
> > other user account too. 
> 
> Have you looked at pg_hba.conf?  See the "Client Authentication"
> chapter in the documentation for details.


Thanks for your help!
I have modified my pg_hda.conf as the DOC said, and I can login with my
password use "psql" in terminal. But it still remains a problem that I
can't acess to my database through webclients such as PhpPgAdmin and my
other phpclient.

What's wrong then?
Thank you again!


-- 
Wang Jun@ Atmos. Dep. of Nju Nanjing Jiangsu China. 
GNU is Not Unix, BSD is Powerful,
Ada is Beautiful, Nju is Graceful.

Attachments:

pg_hba.conf (text/plain, 933B) download #This is my admin user account local all pgAdminWang password host all pgAdminWang 127.0.0.1 255.255.255.0 password host all pgAdminWang 192.168.0.114 255.255.255.0 password #this is Common user account local all wang password host all wang 127.0.0.1 255.255.255.255 password # System defaults, haven't changed yet. local all postgres ident sameuser local all all ident sameuser host all all 127.0.0.1 255.255.255.255 ident sameuser host all all ::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ident sameuser host all all ::ffff:127.0.0.1/128 ident sameuser host all all 0.0.0.0 0.0.0.0 reject

view thread (4+ messages)  latest in thread

Message-ID: <1103114537.8185.9.camel@localhost.localdomain>
Permalink:  ../1103114537.8185.9.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1103114537.8185.9.camel@localhost.localdomain

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: daxiawj@gmail.com, mike@fuhr.org
  Subject: Re: [Re]:User Admin in pgsql
  In-Reply-To: <1103114537.8185.9.camel@localhost.localdomain>
  References: <1103114537.8185.9.camel@localhost.localdomain>

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

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