Re: Problem with security

From: "Gregory Wood" <gregw(at)com-stock(dot)com>
To: <Troy(dot)Campano(at)LibertyMutual(dot)com>
Cc: "PostgreSQL-General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Problem with security
Date: 2001-12-03 19:24:15
Message-ID: 004c01c17c30$19c8d0b0$7889ffcc@comstock.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Problem with securitypg_hba.conf in the database directory has the login
permissions.

Sounds like you have "trust" permissions, and you want "password". Should be
pretty self-explanatory once you open that file.

Greg

----- Original Message -----
From: Troy(dot)Campano(at)LibertyMutual(dot)com
To: pgsql-general(at)postgresql(dot)org
Sent: Monday, December 03, 2001 1:26 PM
Subject: [GENERAL] Problem with security

Maybe this is an easy one but,

I've created a user called 'ebstrack' and they own a database called
'ebs_dd'.

When I'm on a different server than the database server, and I do this at a
unix prompt:

$> psql ebs_dd -U ebstrack --host=archer

It logs me in without a password, and I am able to SELECT off the tables.

Any idea on how to prevent this?

Thanks!

Troy Campano
[:==> Troy Campano <==:]
Database (Request Manager/web/database)
http://intranet:3000/infosys/infra/software/database/dbapp/
http://intranet2/reqman/
Microsoft gave you Windows, UNIX the whole house.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jason Earl 2001-12-03 19:26:10 Re: Installing DBD::Pg module without Pg Database server
Previous Message wsheldah 2001-12-03 19:15:28 Re: java stored procedures