public inbox for [email protected]  
help / color / mirror / Atom feed
From: Muhammad Waqas <[email protected]>
To: SASIKUMAR Devaraj <[email protected]>
Cc: Pgsql-admin <[email protected]>
Subject: Re: Password Change Mandatory during First Login
Date: Tue, 27 Aug 2024 15:04:01 +0500
Message-ID: <CAHYHq4XYw6dPAOXajwpFQm6k36dS1N+gf3q-H_cPp5q9igMqjw@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>

yes you can by  CREATE ROLE foo LOGIN PASSWORD 'foo' VALID UNTIL
'2021-11-22';

but password authentication in pg_hba.conf should be enable.

On Tue, 27 Aug 2024 at 14:37, SASIKUMAR Devaraj <[email protected]>
wrote:

> Hi All
>
> Please advise whether it is possible to force the user to change password
> during first login.
>
> Regards
> Sasi
>


-- 
*Muhammad Waqas*
*Senior Technical Support Engineer - Tech Support Center (Karachi)*
Mobile: +92-322-2844150
Email:  *[email protected] <[email protected]>*
1st floor, suit no F-04, COLABS Karachi, 8-C Khayaban-e-Tanzeem,
DHA Phase 5 Tauheed Commercial Area,
Defense V Defense Housing Authority, Karachi, Karachi City, Sindh,
75500 Pakistan.


view thread (6+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Password Change Mandatory during First Login
  In-Reply-To: <CAHYHq4XYw6dPAOXajwpFQm6k36dS1N+gf3q-H_cPp5q9igMqjw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox