From: Daniel Scott <djscott@mit.edu>
To: pgsql-admin@postgresql.org
Subject: Change user password
Date: Mon, 8 Dec 2008 09:36:35 -0500
Message-ID: <6835906b0812080636m1c727285j77d29dc90eae2a6d@mail.gmail.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: djscott@mit.edu
Subject: Re: Change user password
In-Reply-To: <6835906b0812080636m1c727285j77d29dc90eae2a6d@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox