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: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin

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?


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