## Peer vs Password * See [this stackoverflow](https://stackoverflow.com/questions/18664074/getting-error-peer-authentication-failed-for-user-postgres-when-trying-to-ge) * See [the docs on authentication methods](https://www.postgresql.org/docs/9.3/auth-methods.html) In `/etc/postgresql/15/main/` edit the file `pg_hba.conf`. Choose `peer` or `md5` as needed. Change ``` local all all peer ``` to ``` local all all md5 ```