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

Re: Change the postgres user password

From: "Phillip Smith" <phillip(dot)smith(at)weatherbeeta(dot)com(dot)au>
To: <noel(dot)faux(at)med(dot)monash(dot)edu(dot)au>,<pgsql-novice(at)postgresql(dot)org>
Subject: Re: Change the postgres user password
Date: 2007-02-08 01:47:29
Message-ID: 006201c74b23$17cce130$9b0014ac@wbaus090 (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
Assuming you still have TRUST authentication setup on the local server, open
a psql session as the postgres user (you won't be asked for the password
under TRUST authentication) to the database and execute the command:

ALTER USER Postgres WITH PASSWORD '<newpassword>';


-----Original Message-----
From: pgsql-novice-owner(at)postgresql(dot)org
[mailto:pgsql-novice-owner(at)postgresql(dot)org] On Behalf Of Noel Faux
Sent: Thursday, 8 February 2007 11:56
To: pgsql-novice(at)postgresql(dot)org
Subject: [NOVICE] Change the postgres user password

Hi all,

I set the postgres user's password sometime ago.  Now I've forgoten it.  How

can I reset it?


Research Assistant / PhD Student
Department of Biochemistry and Molecular Biology
Monash University
Clayton, Victoria

Ph: +61 3 9905 1418
e-mail: noel(dot)faux(at)med(dot)monash(dot)edu(dot)au

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

*******************Confidentiality and Privilege Notice*******************

The material contained in this message is privileged and confidential to
the addressee.  If you are not the addressee indicated in this message or
responsible for delivery of the message to such person, you may not copy
or deliver this message to anyone, and you should destroy it and kindly
notify the sender by reply email.

Information in this message that does not relate to the official business
of Weatherbeeta must be treated as neither given nor endorsed by Weatherbeeta.
Weatherbeeta, its employees, contractors or associates shall not be liable
for direct, indirect or consequential loss arising from transmission of this
message or any attachments

In response to


pgsql-novice by date

Next:From: Noel FauxDate: 2007-02-08 02:10:28
Subject: Re: Change the postgres user password
Previous:From: Noel FauxDate: 2007-02-08 00:56:01
Subject: Change the postgres user password

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