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: 6835906b0812050742t279c9f04r18218cff3d79eb78@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

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?

Thanks,

Dan Scott

Responses

Browse pgsql-admin by date

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