pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Nikolas Hanry <kopfderhund@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: Fwd: Change the auth. postgresql and GIS
Date: Wed, 23 Nov 2022 08:16:16 -0800
Message-ID: <2150ae60-0da1-953e-cd8b-1384b394582b@aklaver.com> (raw)
In-Reply-To: <CAD=K_C+YERSv-F4uSNwUU_jtNpcoOXhF6Y1i=m+U_=EBOqh4qA@mail.gmail.com>
References: <CAD=K_CJVoyDL_k_005axJhgrA+-3DUjJZ+aSEpy9empQ5j1f-A@mail.gmail.com>
	<CAD=K_C+YERSv-F4uSNwUU_jtNpcoOXhF6Y1i=m+U_=EBOqh4qA@mail.gmail.com>

On 11/23/22 02:23, Nikolas Hanry wrote:
> 
> Dear Community,

Comments inline below.
> 
> we tried to change the auth. in our postgresql environment (PostgreSQL V.11)
> from MD5 to SCRUM SHA 256
> 
>   - stop the services and killed all active connections
> - changed with alter and set pw the editor user to sha (psql)

a) What is password_encryption set to in postgresql.conf?

b) What was the exact ALTER command?

c) What is meant by editor user?



> - checked if the pw changes successfull (psql and pg4admin)

Check how?

> - tried to open new document from GIS desktop and edit --> error msg. 
> connection not available

a) Post the error message.

b) What is GIS desktop?

> - after few minutes the pw synchonized and changed  automatically back

How did you determine the password was changed back?

> 
> My questions are:
> Is it possible to work with GIS files (desktop and web) after pw changes 
> to SHA 256? We are handling with this issue and don't want to change it 
> directly for gisadmin (owner all db's) either with the postgres user
> 
> Does the changes revert back automatically to MD5 after a while due 
> synchronization? In our test environment tried the same way, although 
> the only difference was that we changed as well pg_hba_conf as well
> host     postgres      all        172.xxx.xxx.83/32   scram-sha-256
>   and Type       DB  USER      ADDRESS     METHOD    --> trust and 
> scram-sha-256 overall.

What are the settings in pg_hba.conf in the production setup?

> 
> Many thanks in advance
> Best Regards
> Nikola Lubenov
> 
> 
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com






view thread (3+ messages)  latest in thread

Message-ID: <2150ae60-0da1-953e-cd8b-1384b394582b@aklaver.com>
Permalink:  ../2150ae60-0da1-953e-cd8b-1384b394582b@aklaver.com/
Also on:    postgresql.org/message-id/2150ae60-0da1-953e-cd8b-1384b394582b@aklaver.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, kopfderhund@gmail.com
  Subject: Re: Fwd: Change the auth. postgresql and GIS
  In-Reply-To: <2150ae60-0da1-953e-cd8b-1384b394582b@aklaver.com>
  References: <CAD=K_CJVoyDL_k_005axJhgrA+-3DUjJZ+aSEpy9empQ5j1f-A@mail.gmail.com> <CAD=K_C+YERSv-F4uSNwUU_jtNpcoOXhF6Y1i=m+U_=EBOqh4qA@mail.gmail.com> <2150ae60-0da1-953e-cd8b-1384b394582b@aklaver.com>

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

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