Empty, uneditable pg_hba.conf file Empty, uneditable pg_hba.conf file postgresql postgresql

Empty, uneditable pg_hba.conf file


So pg_hba.conf was empty because I was trying to open it with SublimeText and sublime didn't tell me that I was not permitted to read it, it just showed me an empty file.
And to edit pg_hba.conf I needed to open it through terminal

/etc/postgresql/9.3/main$ sudo subl pg_hba.conf

with sudo.