Re: Clave usuario postgres - Mailing list pgsql-admin

From Jaime Casanova
Subject Re: Clave usuario postgres
Date
Msg-id c2d9e70e0802212106u2023cef5yb04dceeae70d97a3@mail.gmail.com
Whole thread Raw
In response to Clave usuario postgres  (Wolfgang Rodriguez <mayckmarck@hotmail.com>)
Responses FW: Clave usuario postgres  (Wolfgang Rodriguez <mayckmarck@hotmail.com>)
List pgsql-admin
this is an english list, you can write in spanish at
pgsql-es-ayuda@postgresql.org

2008/2/21 Wolfgang Rodriguez <mayckmarck@hotmail.com>:
>
>
> Saludos a todos.
>
> Se me presenta el siguiente problema: olvidé y extravié la clave o password
> del usuario postgres y no puedo accesar las distintas bases de datos.
>
> Por favor, alguien sabe cómo podría recuperar esta clave o password?
> Me han dicho que si vuelvo a instalar la aplicación, es decir, el manejador
> de postgres, puedo perder toda la información de las bases de datos.
>

is this the password for the OS user "postgres" or the DB role "postgres"?

if the former you tell that to your sysadmin in order to him to reset it...

then change the pg_hba.conf file and put trust as the method
authorization for local access or maybe sameuser then reset it with
ALTER ROLE

of course, you need access to the machine...

--
Atentamente,
Jaime Casanova

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
 Richard Cook

pgsql-admin by date:

Previous
From: Wolfgang Rodriguez
Date:
Subject: Clave usuario postgres
Next
From: "Vladimir Rusinov"
Date:
Subject: Re: WAL archiving