PAM_POSTGRESOK(8)
π PAM_POSTGRESOK(8) π
okay bestie, sit down, hydrate, and let me tell you about pam_postgresok β it's a PAM module from the pam-redhat manual, and it's literally the bouncer at the postgres club π
β¨ NAME β¨
pam_postgresok β a PAM module that does a simple lil check of the real UID and the corresponding account name π¦
πΈ SYNOPSIS πΈ
pam_postgresok.so [debug]
π DESCRIPTION π
so pam_postgresok.so is designed to check two things at once, no cap:
- that the real UID of the calling process belongs to the
"postgres"user, and - that it's equal to
26β which is the value assigned to that user on Red Hat Linux systems π
both, bestie. it's giving "we check twice" energy. periodt. β¨
π OPTIONS π
debugβ writes debugging messages tosyslog. yes queen, log it all, we love receipts π
π MODULE TYPES PROVIDED π
only the auth module type is provided. that's it, that's the whole list, she's a one-trick pony and she's iconic for it π
β RETURN VALUES β
PAM_SUCCESSβ everything was successful π₯³ slay, you're inPAM_AUTH_ERRβ authentication failed π nope, not today
π«Ά EXAMPLES π«Ά
here's how the girlies actually use her:
auth sufficient pam_postgresok.so
π FILES π
/usr/share/doc/setup/uidgidβ documentation setup file π (the lore, if you will)
π§ SEE ALSO π§
go read those too, bestie, expanding your mind is main character energy π
π AUTHOR π
pam_postgresok was written by Fernando Nasser <fnasser@redhat.com> π ty for your service king
and that's the whole page, no notes π this was pam-redhat, dated 07/08/2026 β go forth and check those UIDs, you absolute legend π¦β¨
π¦ where this page comes from
- fedora 44: pam 1.7.2-2.fc44 Β· BSD-3-Clause AND GPL-2.0-or-later
- fedora 44: pam 1.7.2-2.fc44 Β· BSD-3-Clause AND GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms