News for hackers. Stuff that matters.
Re:Securing a Postgres Database by mnahkies on Saturday April 03, 2021 @04:06AM (#26679164)
Hmm I think the default pg_hba.conf uses "trust" and so will allow passwordless connections as postgres on localhost, you just have to specify the username (psql will use your username by default)

This is the case for the official docker image at least, and I'm fairly certain also true of distro package managers

Re:Securing a Postgres Database by boromisp on Saturday April 03, 2021 @05:54AM (#26679658)
At least on debian / ubuntu, the default is peer auth: https://salsa.debian.org/postgresql/postgresql-common/-/blob...