En tillfällig lösning är att redigera pg_hba.conf och sätta lokal inloggning till trust:
# Database administrative login by Unix domain socket
local all postgres trustÅterställ sedan lösenordet:
sudo -u postgres psql template1
ALTER USER postgres with encrypted password 'your_password';Ställ tillbaka pg_hba.conf till md5 igen.