Ubuntu Pastebin

Paste from wew at Tue, 5 Apr 2016 01:45:18 +0000

Download as text
1
2
3
Edit the pg_hba.conf file, e.g. with sudo emacs /etc/postgresql/9.3/main/pg_hba.conf

Change all authentication methods to trust. Change Unix Password for "postgres" user. Restart Server. Login with psql -h localhost -U postgres and use the just set Unix password. If it works you can re-set the pg_hba.conf file to the default values.
Download as text