pgagroal_hba.conf(5)
π pgagroal_hba.conf β the host based access glow-up π
okay bestie, gather round, because this is pgagroal_hba.conf(5), a File Formats Manual page, and it is literally the bouncer list for your connections. no cap.
πΈ NAME πΈ
pgagroal_hba.conf β Host based access configuration file for pgagroal β¨
π¦ DESCRIPTION π¦
pgagroal_hba.conf is the file that spells out the host based access pattern for pgagroal. that's it, that's the whole vibe β it decides who gets in and who gets told no. π
π FORMAT π
every rule is a lil row with a TYPE, a DATABASE, a USER, an ADDRESS and a METHOD. let's break down every single one, because we do not skip parts in this house:
TYPEβ this is the access method for clients. onlyhostis supported, so don't get creative, bestie. π«DATABASEβ the database this rule is for. you can drop a specific name in here, or useallif you mean every single database. πUSERβ the user this rule is for. again: a specific name, orallfor all users. no gatekeeping beyond what you write here. πADDRESSβ the network this rule covers.allmeans all networks. otherwise it's an IPv4 address with a mask (0.0.0.0/0) or an IPv6 address with a mask (::0/0). both styles are literally right there, use whichever fits. πMETHODβ the authentication mode for the user.allmeans all methods (yes, all of them, chaos queen π), otherwise it's one oftrust,reject,password,md5orscram-sha-256. pick your fighter. π₯
β¨ EXAMPLE β¨
here's the moment you've been waiting for, the actual file, copied exactly so you can't mess it up:
#
# TYPE DATABASE USER ADDRESS METHOD
#
host all all all all
it's giving "everyone come in, i trust y'all completely" energy. use responsibly. π
π REPORTING BUGS π
pgagroal is maintained on GitHub at <https://github.com/pgagroal/pgagroal> β go there if something's broken, the maintainers are the main characters and they will handle it. π«Ά
π COPYRIGHT π
pgagroal is licensed under the 3-clause BSD License. slay, legally speaking. β
π§ SEE ALSO π§
pgagroal.conf(5), pgagroal_databases.conf(5), pgagroal_vault.conf(5), pgagroal(1), pgagroal-cli(1), pgagroal-admin(1), pgagroal-vault(1) β the whole friend group, go read them all, iykyk. π
and that's the page, bestie!! π¦β¨ mwah π
β this was pgagroal_hba.conf(5) from the File Formats Manual, and yeah, that footer is literally the same thing as the title, because this page is the moment. go configure something iconic. ππ
π¦ where this page comes from
- ubuntu stonking: pgagroal 2.1.0-1ubuntu1 Β· BSD-pgagroal
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms