Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 792A9476397; Tue, 22 Oct 2002 11:36:17 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id A2A824764AF; Tue, 22 Oct 2002 11:35:50 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id g9MFZPhR019307; Tue, 22 Oct 2002 11:35:25 -0400 (EDT) To: "Igor Georgiev" Cc: "dima" <_pppp@mail.ru>, pgsql-hackers@postgresql.org, pgsql-admin@postgresql.org Subject: Re: Security question : Database access control In-reply-to: <00e301c279e5$cb03f0e0$0b0546c0@alpha.bg> References: <001f01c279dc$7c7e1940$0b0546c0@alpha.bg> <3DB55D81.9040906@mail.ru> <00e301c279e5$cb03f0e0$0b0546c0@alpha.bg> Comments: In-reply-to "Igor Georgiev" message dated "Tue, 22 Oct 2002 18:12:16 +0200" Date: Tue, 22 Oct 2002 11:35:25 -0400 Message-ID: <19306.1035300925@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/193 X-Sequence-Number: 6051 "Igor Georgiev" writes: > 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 ?? As somebody already pointed out, you *must* trust the people with root access to your machine; there is not anything you can do to defend yourself against them. If you can't trust the admins on the machine you're using, better get your own machine. regards, tom lane