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

Change user password

From: "Daniel Scott" <djscott(at)mit(dot)edu>
To: pgsql-admin(at)postgresql(dot)org
Subject: Change user password
Date: 2008-12-08 14:36:35
Message-ID: 6835906b0812080636m1c727285j77d29dc90eae2a6d@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

pgsql-admin by date

Next:From: Scott MarloweDate: 2008-12-08 15:35:28
Subject: Re: Vacuum Problems
Previous:From: Glyn AstillDate: 2008-12-08 13:14:15
Subject: Re: Planner picking topsey turvey plan?

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