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: 6835906b0812050742t279c9f04r18218cff3d79eb78@mail.gmail.com (view raw or flat)
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

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-2014 The PostgreSQL Global Development Group