Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id E72E74764D4; Tue, 22 Oct 2002 11:24:45 -0400 (EDT) Received: from mail1.ihs.com (mail1.ihs.com [170.207.70.222]) by postgresql.org (Postfix) with ESMTP id 292584764A9; Tue, 22 Oct 2002 11:24:45 -0400 (EDT) Received: from css120.ihs.com (css120.ihs.com [170.207.105.120]) by mail1.ihs.com (8.12.6/8.12.6) with ESMTP id g9MFNjOc027690; Tue, 22 Oct 2002 09:23:45 -0600 (MDT) Date: Tue, 22 Oct 2002 09:13:43 -0600 (MDT) From: "scott.marlowe" To: Igor Georgiev Cc: , Subject: Re: [HACKERS] Security question : Database access control In-Reply-To: <00e301c279e5$cb03f0e0$0b0546c0@alpha.bg> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MailBodyFilter: Message body has not been filtered X-MailScanner: Found to be clean X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/210 X-Sequence-Number: 6068 On Tue, 22 Oct 2002, Igor Georgiev wrote: > > > edit *pg_hba.conf * > > > # Allow any user on the local system to connect to any > > > # database under any username, but only via an IP connection: > > > host all 127.0.0.1 255.255.255.255 trust > > > # The same, over Unix-socket connections: > > > local all trust > > what about reading pg_hba.conf comments? > > local all md5 > > > > Ok, but my question actually isn't about pg_hba.conf comments, i read enough > but what will stop root from adding this lines or doing su - postgres ?? > Nothing, root is GOD in unix. He can do whatever he wants.