Re: Can db user change own password?

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Toomas <toomas(dot)kristin(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Can db user change own password?
Date: 2021-10-20 14:45:46
Message-ID: 62f56a19-0504-4d7b-5f73-b10e8206642a@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/20/21 07:38, Toomas wrote:
> Hi,
>
> Is there any possibilities that db user can change own password?
>
> There is no difference does the user uses ALTER command or \password meta-command, result is the same - response is “permission denied”.
>
> dbname=> \password
> Enter new password:
> Enter it again:
> ERROR: permission denied

Works for me, you will need to supply more information:

1) Postgres version?

2) User you are connecting as?

3) Output of \du <user_name>

>
> BR,
> Toomas
>
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joel Perren 2021-10-20 14:56:43 Selectivity and row count estimates for JSONB columns
Previous Message Toomas 2021-10-20 14:38:26 Can db user change own password?