Re: How to create a postgres user that auth by AUTH_REQ_MD5

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hoa Phan <s50600822(at)gmail(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: How to create a postgres user that auth by AUTH_REQ_MD5
Date: 2019-05-09 14:03:04
Message-ID: 3202.1557410584@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hoa Phan <s50600822(at)gmail(dot)com> writes:
> How do I create user that required AUTH_REQ_MD5 or config database so that
> it require AUTH_REQ_MD5 ?

That's determined by your pg_hba.conf rules. If you really want to
have just one user acting that way, you can use a rule that keys on
user name; but it's an unusual thing to do I think.

https://www.postgresql.org/docs/current/auth-pg-hba-conf.html

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Rui DeSousa 2019-05-09 14:16:53 Re: postgres wal log configuration question
Previous Message Rui DeSousa 2019-05-09 13:39:53 Re: pg_receivewal configuration issues