Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 96C93632CE8 for ; Tue, 6 Apr 2010 16:52:58 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 08277-03 for ; Tue, 6 Apr 2010 19:52:44 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id B761D632A09 for ; Tue, 6 Apr 2010 16:52:47 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o36Jqi4p026141; Tue, 6 Apr 2010 15:52:44 -0400 (EDT) To: Francisco Reyes cc: Kevin Crain , pgsql-admin@postgresql.org Subject: Re: Configuration questions In-reply-to: References: Comments: In-reply-to Francisco Reyes message dated "Tue, 06 Apr 2010 14:45:05 -0400" Date: Tue, 06 Apr 2010 15:52:44 -0400 Message-ID: <26140.1270583564@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.464 tagged_above=-10 required=5 tests=AWL=0.135, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201004/57 X-Sequence-Number: 34151 Francisco Reyes writes: > Kevin Crain writes: >> How do I configure postgres to lock a user's account after X failed login >> attempts, where X is an arbitrary number. > Don't think there is a way to do that. > Perhaps using an authentication mechanism that supports that and then using > it to connect to Postgres.. The usual suggestion is to use PAM if you want a customized login policy. regards, tom lane