biko:/usr/bin# psql -U postgres
No database specified

Instead, do: su - postgres
Then do: psql template1 or psql -h <name of your computer> template1

My pg_hba.conf temporarily reads:

local all trust
host all 127.0.0.1 255.255.255.255 trust
host template1 192.168.2.21 255.255.255.0 trust

For now, just remove any security and put this line:

host all 192.168.2.21 255.255.255.255 trust

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to