pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Please help me with pg_hba.conf file settings 2+ messages / 2 participants [nested] [flat]
* Please help me with pg_hba.conf file settings @ 2000-11-20 10:15 akacker <akacker@lw1.vsnl.net.in> 2000-11-23 19:52 ` Re: Please help me with pg_hba.conf file settings Peter Eisentraut <peter_e@gmx.net> 0 siblings, 1 reply; 2+ messages in thread From: akacker @ 2000-11-20 10:15 UTC (permalink / raw) To: pgsql-admin Dear Sir Hello! I have a Linux web server on which I am providing name based hosting services to my clients. I want that my clients who have their virtual sites on my server should be able to connect to their databases by using php or any other server side programs to connect to postgresql database thourgh their password authentications. For this I edited the pg_hba.conf file of Postgresql which is at the location /var/lib/pgsql/pg_hba.conf and I added the following lines at the bottom of this file using vi editor. host all 64.65.7.145 255.255.255.255 trust By adding the above file in pg_hba.conf file my clients are able to connect to their databases but even if they give any wrong password in their server side programs which they are using to connect to their database they are able to access their databse. I tried adding the following lines to pg_hba.conf file : host all 64.65.7.145 255.255.255.255 password pgpass I created pgpass by the command pg_passwd pgpass and added the user (i.e my client username and password) but it did not work. though this way it is working fine on my local intranet which is on Linux. Please help me solve my problem. Regards ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Please help me with pg_hba.conf file settings 2000-11-20 10:15 Please help me with pg_hba.conf file settings akacker <akacker@lw1.vsnl.net.in> @ 2000-11-23 19:52 ` Peter Eisentraut <peter_e@gmx.net> 0 siblings, 0 replies; 2+ messages in thread From: Peter Eisentraut @ 2000-11-23 19:52 UTC (permalink / raw) To: akacker <akacker@lw1.vsnl.net.in>; +Cc: pgsql-admin akacker writes: > I tried adding the following lines to pg_hba.conf file : > > host all 64.65.7.145 255.255.255.255 password pgpass > > I created pgpass by the command pg_passwd pgpass and added > the user (i.e my client username and password) but it did not > work. Define "did not work". though this way it is working fine on my local intranet > which is on Linux. What is "this way" and what is the nature of your intranet? -- Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/ ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2000-11-23 19:52 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2000-11-20 10:15 Please help me with pg_hba.conf file settings akacker <akacker@lw1.vsnl.net.in> 2000-11-23 19:52 ` Peter Eisentraut <peter_e@gmx.net>
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