Skip site navigation (1) Skip section navigation (2)

Change user password

From: "Dan Scott" <danieljamesscott(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Change user password
Date: 2008-12-05 15:42:28
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin

Is is possible to modify a user password using a command line script?
I know about the ALTER USER command from within the client, but this
looks like it's quite insecure, storing the password in the history. I
know it's possible to insert the encrypted password with ALTER USER
but that means generating the hash elsewhere. A simple 'alteruser -P
username' which then prompts for the user password would be nice. Does
this exist?


Dan Scott


pgsql-admin by date

Next:From: Benjamin KrajmalnikDate: 2008-12-06 18:04:27
Subject: Change in behavior of string concat operator
Previous:From: Glyn AstillDate: 2008-12-05 14:23:30
Subject: Planner picking topsey turvey plan?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group