Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maJfQ-0006PB-VC for pgsql-novice@arkaria.postgresql.org; Tue, 12 Oct 2021 15:26:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1maJfP-0006Hd-Rl for pgsql-novice@arkaria.postgresql.org; Tue, 12 Oct 2021 15:26:11 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maJfP-0006HV-Hu for pgsql-novice@lists.postgresql.org; Tue, 12 Oct 2021 15:26:11 +0000 Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maJfK-0006Tq-F4 for pgsql-novice@lists.postgresql.org; Tue, 12 Oct 2021 15:26:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=depesz.com; s=20170201; h=In-Reply-To:Content-Type:MIME-Version:References:Reply-To: Message-ID:Subject:Cc:To:Sender:From:Date:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=weVxRCiTN6NcwUaWHxPTKFAwSsApGJodgbZ748V3/Yc=; b=tvxTJetEWQArKWi8/kunq5jQtM 5cSID50+1w4yJGuYbf8O0wbT5vmGnSB312fcMHt/pVRAPKZarVTXXL1rXla7pErZY60pN6diqMEPU xwl3KZ5iOD/FQIMNqHO/YtG7Cn5++aT5F64vMXTE8iKxl3YtXWKqjFSgrxihwKbu3HCQ=; Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by depesz.com with esmtpa (Exim 4.92) (envelope-from ) id 1maJfF-0005iK-VD; Tue, 12 Oct 2021 17:26:02 +0200 Date: Tue, 12 Oct 2021 17:26:01 +0200 From: hubert depesz lubaczewski Sender: depesz@depesz.com To: Agil Azimov Cc: pgsql-novice@lists.postgresql.org Subject: Re: Password settings requirements Message-ID: <20211012152601.GA20471@depesz.com> Reply-To: depesz@depesz.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Oct 12, 2021 at 07:00:17PM +0400, Agil Azimov wrote: > Need to check the password settings in postgre such as Password minimal > length, password complexity, password maximal age, password history and > account lockout threshold. > I need to set these parameters to make the comply with the best practices > Can you please help with this issue? Did you check this: https://www.postgresql.org/docs/current/passwordcheck.html ? Best regards, depesz