'\" t
.\" Title: pam_postgresok
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets vsnapshot
.\" Date: 01/23/2026
.\" Manual: pam-redhat Manual
.\" Source: pam-redhat
.\" Language: English
.\"
.TH "PAM_POSTGRESOK" "8" "01/23/2026" "pam\-redhat" "pam\-redhat Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
pam_postgresok \- PAM module to simple check of real UID and corresponding account name
.SH "SYNOPSIS"
.HP \w'\fBpam_postgresok\&.so\fR\ 'u
\fBpam_postgresok\&.so\fR [debug]
.SH "DESCRIPTION"
.PP
pam_postgresok\&.so is designed to check that the real UID of the calling process belongs to the "postgres" user and equal to 26 (the value assigned to that user on Red Hat Linux systems)\&.
.SH "OPTIONS"
.PP
debug
.RS 4
Write debugging messages to syslog\&.
.RE
.SH "MODULE TYPES PROVIDED"
.PP
Only
\fBauth\fR
module type is provided\&.
.SH "RETURN VALUES"
.PP
.PP
PAM_SUCCESS
.RS 4
Everything was successful\&.
.RE
.PP
PAM_AUTH_ERR
.RS 4
Authentication failed\&.
.RE
.SH "EXAMPLES"
.sp
.if n \{\
.RS 4
.\}
.nf
auth sufficient pam_postgresok\&.so
.fi
.if n \{\
.RE
.\}
.SH "FILES"
.PP
/usr/share/doc/setup/uidgid
.RS 4
Documentation setup file
.RE
.SH "SEE ALSO"
.PP
\fBpam_rootok\fR(8),
\fBpam.d\fR(5),
\fBpam\fR(8)
.SH "AUTHOR"
.PP
pam_postgresok was written by Fernando Nasser \&.