Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxgTB-0006UT-2r for pgsql-admin@arkaria.postgresql.org; Wed, 05 Sep 2018 22:40:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fxgT9-0004hs-2g for pgsql-admin@arkaria.postgresql.org; Wed, 05 Sep 2018 22:40:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxgT8-0004hf-Oc for pgsql-admin@lists.postgresql.org; Wed, 05 Sep 2018 22:40:14 +0000 Received: from mail-oi0-x242.google.com ([2607:f8b0:4003:c06::242]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fxgT4-0001B1-U3 for pgsql-admin@lists.postgresql.org; Wed, 05 Sep 2018 22:40:13 +0000 Received: by mail-oi0-x242.google.com with SMTP id k81-v6so16832985oib.9 for ; Wed, 05 Sep 2018 15:40:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=tqBW1268dLFlHV5hm7KEwqsiXT8V6XAeMfzgJ0JPNzM=; b=qs6ldfcOGX5EL+0mlH+d92SYWVZECgdg2S9Ts+xLmgJhuTrW6pU9XypCKCJ30WWx4Y KIbNPlqVEiSt0dIUdQa7du1/6sLlaCrbCLhZ1X0A4jB1dv+G5j0lysGfdJe5aU+6pyQ1 Kk5RAw4i+rA9NdhHqHzk0GsUZ7B+OfHZqsapOsmIB131006+7MTWIBJjTAkrpOU4CsXt H94doMrIfxd5b1lkT2bZ73SCKxL3wSNlLIjlBamP2lIS1KeVzo9hhgFNDfReU4mZjaym A1yNCiAAA8LPUdyCgUsRsN1JOM1vAgUWZAxB9ip3nVTj377wWPBVu2dN0jitEWny9bFI TP+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=tqBW1268dLFlHV5hm7KEwqsiXT8V6XAeMfzgJ0JPNzM=; b=QcMeJpLQctPt/ism178E4Nw6FTpX0jGXgS2bX0pPytWDEPe7pCq1LduEazlAOj2v/D kSK/xb/m3zduJyUjAORIplPV8CKwasbrZ/eIXWBs2j0R/3XpFYeClCHe4xEJM6A5GKpM iQf77aO+nXxwYy8yvXpFeSTFCrqoxazhjJ/slyq+nXEysvJLTFOqlUyTFBEC9EMmgEgC NIEDPTTz4unEL5P7niIn+jE5ulV7PbD1O8gXYiZxRs6m5pmtTrJP3Ws6et2fJdPlzea+ xrTAka8AKVGkVYAmJ7nDJRszvvqTMZbJgds5plkomQJLl+Dh/mZ0wEJd9SIMLPDsWLnu +fnQ== X-Gm-Message-State: APzg51CPZuG03VLtmfkCuYEK1w0sVBidj0e1DButLh+0H+gQvveiRema qmwMzXnwuVy2V9hSVcaJjzkw0V1P X-Google-Smtp-Source: ANB0VdZtIIv90uz6g7cbuNN1SNvUWBCRyMw5dsUet08JEvYVJGNCUsBXZU56zsmA0zaRRA8pgPc4zg== X-Received: by 2002:aca:cd02:: with SMTP id d2-v6mr33208818oig.207.1536187208388; Wed, 05 Sep 2018 15:40:08 -0700 (PDT) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id u21-v6sm3157549oie.22.2018.09.05.15.40.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Sep 2018 15:40:07 -0700 (PDT) Subject: Re: User to get locked after three wrong login attempts. To: pgsql-admin@lists.postgresql.org References: <30655.1536069964@sss.pgh.pa.us> <20180905174832.GO4184@tamriel.snowman.net> <87va7j61g2.fsf@gmail.com> <87r2i760kp.fsf@gmail.com> From: Ron Message-ID: <69ff0db1-be26-5746-7b51-867f07c74d36@gmail.com> Date: Wed, 5 Sep 2018 17:40:06 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <87r2i760kp.fsf@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 09/05/2018 05:28 PM, Tim Cross wrote: [snip] > Unfortunately, that is a reflection of the poor standard of most > auditors. They are rarely technical people and just follow a rule > book. Most of their rules are outdated and many are wrong. For example, > many still require 'complex' passwords consisting of mixed case, > punctuation/special characters etc. This is despite the fact the person > who originally proposed such a scheme has actually come out and > apologised and said he had it wrong (plus this 'standard' was removed > from NIST standards over 2 years ago) and ignores the changes in > technologies which has changed the threat (i.e. rainbow tables etc now > mean length is far more important than complexity). > > The 'trick' with auditors is to only answer what they ask and answer in > such a way that what you say is true, but perhaps open to favourable > interpretation. e.g. > > Auditor: do your accounts get locked after X failed login attempts > Answer: We use Active directory for our Windows domain, which has the > failed login policy enabled. > Auditor: Ah yes, I know about that - good, I will mark you as > compliant. > > rather than > > Answer: Well sort of. We have AD for our windows accounts which has the > failed login policy enabled, but some of our systems, like Postgres, > don't use that service. > Auditor: So do you get locked if you try to login to postgres and fail X > times > Answer: No > Auditor: Oh dear, I will have to mark you as non-compliant. Sadly, our auditors are a bit cleverer.  "Send us a screenshot showing that Server X gets locked out after three failed tries." Naturally, Server X runs Postgres. -- Angular momentum makes the world go 'round.