Lists: | pgsql-novice |
---|
From: | Noel Faux <noel(dot)faux(at)med(dot)monash(dot)edu(dot)au> |
---|---|
To: | pgsql-novice(at)postgresql(dot)org |
Subject: | Change the postgres user password |
Date: | 2007-02-08 00:56:01 |
Message-ID: | 200702081156.01669.noel.faux@med.monash.edu.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-novice |
Hi all,
I set the postgres user's password sometime ago. Now I've forgoten it. How
can I reset it?
Cheers,
Noel
--
Research Assistant / PhD Student
Department of Biochemistry and Molecular Biology
Monash University
Clayton, Victoria
Australia
Ph: +61 3 9905 1418
e-mail: noel(dot)faux(at)med(dot)monash(dot)edu(dot)au
website: http://vbc.med.monash.edu.au/~fauxn
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 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
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>';
Cheers,
-p
-----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?
Cheers,
Noel
--
Research Assistant / PhD Student
Department of Biochemistry and Molecular Biology
Monash University
Clayton, Victoria
Australia
Ph: +61 3 9905 1418
e-mail: noel(dot)faux(at)med(dot)monash(dot)edu(dot)au
website: http://vbc.med.monash.edu.au/~fauxn
---------------------------(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
From: | Noel Faux <noel(dot)faux(at)med(dot)monash(dot)edu(dot)au> |
---|---|
To: | Phillip Smith <phillip(dot)smith(at)weatherbeeta(dot)com(dot)au> |
Cc: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: Change the postgres user password |
Date: | 2007-02-08 02:10:28 |
Message-ID: | 200702081310.28476.noel.faux@med.monash.edu.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-novice |
How do I check that its set as TRUST?
Cheers
Noel
On Thursday 08 February 2007 12:47, Phillip Smith wrote:
> 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>';
>
> Cheers,
> -p
>
>
> -----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?
>
> Cheers,
> Noel
--
Research Assistant / PhD Student
Department of Biochemistry and Molecular Biology
Monash University
Clayton, Victoria
Australia
Ph: +61 3 9905 1418
e-mail: noel(dot)faux(at)med(dot)monash(dot)edu(dot)au
website: http://vbc.med.monash.edu.au/~fauxn
From: | "Andrej Ricnik-Bay" <andrej(dot)groups(at)gmail(dot)com> |
---|---|
To: | noel(dot)faux(at)med(dot)monash(dot)edu(dot)au, "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: Change the postgres user password |
Date: | 2007-02-08 02:14:37 |
Message-ID: | b35603930702071814h314f9eadp1c71abaed81837cc@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-novice |
On 2/8/07, Noel Faux <noel(dot)faux(at)med(dot)monash(dot)edu(dot)au> wrote:
> How do I check that its set as TRUST?
By looking at pg_hba.conf
> Cheers
> Noel
Cheers,
Andrej
From: | "Phillip Smith" <phillip(dot)smith(at)weatherbeeta(dot)com(dot)au> |
---|---|
To: | "'Andrej Ricnik-Bay'" <andrej(dot)groups(at)gmail(dot)com>, <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 02:19:24 |
Message-ID: | 007401c74b27$8ce64f20$9b0014ac@wbaus090 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-novice |
Inside that file, you will have something like:
# TYPE DATABASE USER CIDR-ADDRESS METHOD
local all all trust #Localhost
Alternatively, just try it! If it doesn't ask for a password, you have TRUST
setup, if it does ask you, then you don't.
Cheers,
-p
-----Original Message-----
From: pgsql-novice-owner(at)postgresql(dot)org
[mailto:pgsql-novice-owner(at)postgresql(dot)org] On Behalf Of Andrej Ricnik-Bay
Sent: Thursday, 8 February 2007 13:15
To: noel(dot)faux(at)med(dot)monash(dot)edu(dot)au; pgsql-novice(at)postgresql(dot)org
Subject: Re: [NOVICE] Change the postgres user password
On 2/8/07, Noel Faux <noel(dot)faux(at)med(dot)monash(dot)edu(dot)au> wrote:
> How do I check that its set as TRUST?
By looking at pg_hba.conf
> Cheers
> Noel
Cheers,
Andrej
---------------------------(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
From: | Noel Faux <noel(dot)faux(at)med(dot)monash(dot)edu(dot)au> |
---|---|
To: | Phillip Smith <phillip(dot)smith(at)weatherbeeta(dot)com(dot)au> |
Cc: | 'Andrej Ricnik-Bay' <andrej(dot)groups(at)gmail(dot)com>, pgsql-novice(at)postgresql(dot)org |
Subject: | Re: Change the postgres user password |
Date: | 2007-02-08 02:28:11 |
Message-ID: | 200702081328.12275.noel.faux@med.monash.edu.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-novice |
OK, chnaged the pg_hba.conf and it's all working now.
Many thanks for all your help. This and the other postgres mailing lists are
great!! Great advice, assistance and PEOPLE!!
Cheers
Noel
On Thursday 08 February 2007 13:19, Phillip Smith wrote:
> Inside that file, you will have something like:
>
> # TYPE DATABASE USER CIDR-ADDRESS METHOD
> local all all trust
> #Localhost
>
> Alternatively, just try it! If it doesn't ask for a password, you have
> TRUST setup, if it does ask you, then you don't.
>
> Cheers,
> -p
>
>
> -----Original Message-----
> From: pgsql-novice-owner(at)postgresql(dot)org
> [mailto:pgsql-novice-owner(at)postgresql(dot)org] On Behalf Of Andrej Ricnik-Bay
> Sent: Thursday, 8 February 2007 13:15
> To: noel(dot)faux(at)med(dot)monash(dot)edu(dot)au; pgsql-novice(at)postgresql(dot)org
> Subject: Re: [NOVICE] Change the postgres user password
>
> On 2/8/07, Noel Faux <noel(dot)faux(at)med(dot)monash(dot)edu(dot)au> wrote:
> > How do I check that its set as TRUST?
>
> By looking at pg_hba.conf
>
> > Cheers
> > Noel
>
> Cheers,
> Andrej
>
> ---------------------------(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
--
Research Assistant / PhD Student
Department of Biochemistry and Molecular Biology
Monash University
Clayton, Victoria
Australia
Ph: +61 3 9905 1418
e-mail: noel(dot)faux(at)med(dot)monash(dot)edu(dot)au
website: http://vbc.med.monash.edu.au/~fauxn