This is the relevant part of my pg_hba.conf:
# TYPE  DATABASE        USER            ADDRESS                 METHOD
# "local" is for Unix domain socket connections only
local   all             all                                     ident
# IPv4 local connections:
host    all             all             127.0.0.1/32            ident
# IPv6 local connections:
host    all             all             ::1/128                 ident
The pidentd service is running.
When I try to log onto ee1 (I assume, the default user is postgres) :
psql ee1 
It says "peer authentication failed for user postgres"
- Where have I configured - peerauthentication for "postgres" ? It's- ident.
- When I change the following line in - pg_hba.conf:- local all all ident- to - local all all md5- it asks me for a password, and I am able to log in. Why is it that making changes to the local connection type, have effect on postgres user? 
 
     
    