From: Dan Scott <danieljamesscott@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Change user password
Date: Fri, 5 Dec 2008 10:42:28 -0500
Message-ID: <6835906b0812050742t279c9f04r18218cff3d79eb78@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: danieljamesscott@gmail.com
Subject: Re: Change user password
In-Reply-To: <6835906b0812050742t279c9f04r18218cff3d79eb78@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