Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 6957C1EB4C50 for ; Sat, 10 Mar 2012 11:31:05 -0400 (AST) Received: from mout0.freenet.de ([2001:748:100:40::2:2]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1S6OG5-0005fq-Qz for pgsql-admin@postgresql.org; Sat, 10 Mar 2012 15:31:04 +0000 Received: from [195.4.92.140] (helo=mjail0.freenet.de) by mout0.freenet.de with esmtpa (ID jan.lentfer@freenet.de) (port 25) (Exim 4.76 #1) id 1S6OFt-0005r6-3K for pgsql-admin@postgresql.org; Sat, 10 Mar 2012 16:30:49 +0100 Received: from localhost ([::1]:45228 helo=mjail0.freenet.de) by mjail0.freenet.de with esmtpa (ID jan.lentfer@freenet.de) (Exim 4.76 #1) id 1S6OFt-0005h2-2j for pgsql-admin@postgresql.org; Sat, 10 Mar 2012 16:30:49 +0100 Received: from [195.4.92.26] (port=48405 helo=16.mx.freenet.de) by mjail0.freenet.de with esmtpa (ID jan.lentfer@freenet.de) (Exim 4.76 #1) id 1S6ODO-00059V-My for pgsql-admin@postgresql.org; Sat, 10 Mar 2012 16:28:14 +0100 Received: from p579b742b.dip.t-dialin.net ([87.155.116.43]:63304 helo=epia.lan.net) by 16.mx.freenet.de with esmtpa (ID jan.lentfer@freenet.de) (port 25) (Exim 4.76 #1) id 1S6ODO-0006au-69 for pgsql-admin@postgresql.org; Sat, 10 Mar 2012 16:28:14 +0100 Received: from localhost (localhost [127.0.0.1]) by epia.lan.net (Postfix) with ESMTP id 30826E679DF6; Sat, 10 Mar 2012 16:28:13 +0100 (CET) X-Virus-Scanned: amavisd-new at lan.net Received: from epia.lan.net ([127.0.0.1]) by localhost (epia.lan.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tJ3PVxhVBwDz; Sat, 10 Mar 2012 16:28:09 +0100 (CET) Received: from [10.94.76.101] (dc-nb.lan.net [10.94.76.101]) by epia.lan.net (Postfix) with ESMTPA id 6CAD8E679C57; Sat, 10 Mar 2012 16:28:09 +0100 (CET) Message-ID: <4F5B730E.4020402@web.de> Date: Sat, 10 Mar 2012 16:28:14 +0100 From: Jan Lentfer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: c k CC: pgsql-admin Subject: Re: Disable TRUST authentication mode References: <4F5B6EB6.9080507@web.de> <4F5B7033.4010502@web.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201203/57 X-Sequence-Number: 39245 Am 10.03.2012 16:21, schrieb c k: > It we can disable the TRUST mode then every user have to login with > password and every fraud user have to know the password (at least) of > the user. It is not the case that users from other departments share > their passwords, but fraud users just bypasses the need to know the > password. If they can alter pg_hba.conf they can almost certainly also change/add users, alter passwords, etc, etc... So from a security perspective it doesn't buy you much. I don't know if you could build a custom postgresql from sources with trust disabled. But it wouldn't be worth the trouble imo. Jan