Responder al comentario

solucion

$ sudo apt-get install postgresql-8.3
$ sudo sed -i 's/ident sameuser$/trust/' /etc/postgresql/8.3/main/pg_hba.conf
$ sudo /etc/init.d/postgresql-8.3 restart
$ psql -U postgres
postgres=# ALTER ROLE postgres WITH PASSWORD 'ri2342ga'; (nota: as comillas simples son necesarias)
postgres=# \q

Responder