Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 55F21475473 for ; Mon, 20 May 2002 09:09:44 -0400 (EDT) Received: from temp.joelburton.com (unknown [209.190.238.101]) by postgresql.org (Postfix) with ESMTP id 9D02847517F for ; Mon, 20 May 2002 09:09:42 -0400 (EDT) Received: from joeltf0d13cyyp (unknown [209.190.238.100]) by temp.joelburton.com (Postfix) with SMTP id 278E92BD0D; Mon, 20 May 2002 10:52:37 -0400 (EDT) From: "Joel Burton" To: "shreedhar" , "PostgreSQL" Subject: Re: Problem in User Securities Date: Mon, 20 May 2002 09:09:45 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <004101c1ffe1$454f3d70$1201a8c0@a4005> X-Archive-Number: 200205/152 X-Sequence-Number: 4327 The default security setup in PG is to allow all connections from localhost, w/o password. This should be changed. You'll find this in your $PGDATA directory, in the file pg_hba.conf. - J. Joel BURTON | joel@joelburton.com | joelburton.com | aim: wjoelburton Knowledge Management & Technology Consultant > -----Original Message----- > From: pgsql-admin-owner@postgresql.org > [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of shreedhar > Sent: Monday, May 20, 2002 5:33 AM > To: PostgreSQL > Subject: [ADMIN] Problem in User Securities > > > Hello All, > > I am new to Postgres, While I was checking 'User Securities' in postgres I > got the following problem. > > I created a user using 'createuser' command and gave superuser > permissions. > > but while accessing database, even if we have not given '-W' password > option it is entering into database. So who knows Unix administrator > password can enter into any database if they know corresponding login name > and they work with the same permissions.. > > And also i observed that even we can enter into template1 with out giving > any username or password. > > I doubt there will be a way to restrict this. > > Can any body help me regarding this. > > Thanks alot, > > With best Regards > bhaskararaju > > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org >