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 1nfkke-0002sz-9y for pgsql-general@arkaria.postgresql.org; Sat, 16 Apr 2022 15:54:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nfkkb-0000SD-M2 for pgsql-general@arkaria.postgresql.org; Sat, 16 Apr 2022 15:54:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nfkkZ-0000Qm-Q7 for pgsql-general@lists.postgresql.org; Sat, 16 Apr 2022 15:54:17 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nfkkQ-0005Cz-Sj for pgsql-general@lists.postgresql.org; Sat, 16 Apr 2022 15:54:15 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 8B3DD5C0130; Sat, 16 Apr 2022 11:54:03 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sat, 16 Apr 2022 11:54:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1650124443; x= 1650210843; bh=6hwXaxD4rZlqT/ix3e+95Z4XQorC5FSBhaYalCRWccE=; b=a jKmpJZgVN0y8lsO9P3iT2kPfg/QcDMcCUPmt+pQUrNZXSGYo1wqIMuhx6dweWSSl S5vPQkmXTcWufKN7OjdaZEpkBWs4Y0ZfWU3uGDMAqbwz0BZyGYNjuoM3oZUR5IIe zte6xmLRFHNGMcaba7Cho1xnajkAMMHCGKY2NYAWVXzTJgyvKfePuohZyAwCPm9Q qgiu36QxAYBFlviEZl+gnutDAB8W4duHDSkaaWxIjm5aFohjVQlZIC0ThXTTtnvc W5Lyhi2tRMyVCDcK7VdCvtwBajNNtroXxpyYiINa/oN+iCNcQKidthiskS6NwTlU pTPWteBoCjbljSMmekL8w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1650124443; x=1650210843; bh=6hwXaxD4rZlqT /ix3e+95Z4XQorC5FSBhaYalCRWccE=; b=NxeFHmlzM4k0RBiZxpotiO4+L5RUl faMhR1Jb2oIO3fO7WIa3kX1b1kXH1v9eQHpCBimiQC/8vQXTmcMMD1Kc6vASyQdB u1Rah5ldUtxelSdjj/2/ELS2Hn8rdwtJOX/1FW6F6fQ7UXiNXFwsnYJYimIETleZ EZ6iOsn6lTNQ3LR4mB2DLC6rtt4zZersIcLHHW8PfNmR48XiV9pnUQ/trbJb05FP JL8D0SlB+o0291/9gqie6fWLG0yxWsHu0mR2aKhvqalCUHJYnbmftEkcrWkVGhBL Rcuqa0GcM9S64H5botWQxYuEXH/MW/WkbAAN0GTFtXzofrrMll2Asu3wQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudeljedgleehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthejredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeevvdekiefhudfhhfdtkeelgeffudeigfetjeegfffg hfetfeelledugfelleegveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 16 Apr 2022 11:54:01 -0400 (EDT) Message-ID: <10103f4c-5afb-8f61-cc81-4011ee8dbda7@aklaver.com> Date: Sat, 16 Apr 2022 08:54:00 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: Require details that can we see the password history to a User account in PostgreSQL Database. Content-Language: en-US To: Sonai muthu raja M , "pgsql-general@lists.postgresql.org" Cc: dba_support References: <94eec5fa-7d7d-c162-4b6a-85d67b814c69@aklaver.com> From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 4/16/22 00:31, Sonai muthu raja M wrote: > Dear Adrian, > > Yes, exactly. My query regardingan application user that when passwords > were changed and what the previous values were? 1) Postgres has not built in process to audit changes to it's own roles. 2) That also means it does not audit whatever you are doing in the application above it. 3) Assuming the application user information is stored in a Postgres table you could create a trigger on the table that stores the changes in a separate audit table. > > Kindly let us know the above information since this detail require for > an internal auditing purpose. > > Thanks. > > */Warm regards,/**/ > > M Sonai Muthu Raja -- Adrian Klaver adrian.klaver@aklaver.com