PAM_WARN(8)
๐ PAM_WARN ๐
okay so bestie, welcome to pam_warn โ it's a Linux-PAM manual page and honestly it's giving "quiet observer who knows everything" energy. no cap. ๐ซถ
โจ NAME โจ
pam_warn โ a PAM module that logs all PAM items when it gets called. that's it. that's the whole job. and it ate. ๐
๐ธ SYNOPSIS ๐ธ
pam_warn.so
๐ฆ DESCRIPTION ๐ฆ
so like, pam_warn is a PAM module whose entire personality is: it logs the service, terminal, user, remote user and remote host to syslog(3). ๐
and here's the tea โ it does not probe for those items. it doesn't go digging, it doesn't ask around. it just takes them straight from the standard PAM items, like a girl who already knows everybody at the party. โจ
the module always returns PAM_IGNORE, which is its way of saying "i'm literally just here to observe, i do not want to affect the authentication process." main character energy but make it hands off. periodt. ๐
๐ OPTIONS ๐
- none of them. this module does not recognise any options. zero. zilch. it's not that kind of girl. ๐
๐ MODULE TYPES PROVIDED ๐
the following module types are provided:
authaccountpasswordsession
all four. she's versatile. she contains multitudes. ๐ง
โญ RETURN VALUES โญ
PAM_IGNOREโ this module always returnsPAM_IGNORE. like, always. there is no other outcome. iykyk. ๐
๐ฅ EXAMPLES ๐ฅ
okay so this is the iconic one โ the config that warns and denies everything if there's no config entry for a service:
#%PAM-1.0
#
# If we don't have config entries for a service, the
# OTHER entries are used. To be secure, warn and deny
# access to everything.
other auth required pam_warn.so
other auth required pam_deny.so
other account required pam_warn.so
other account required pam_deny.so
other password required pam_warn.so
other password required pam_deny.so
other session required pam_warn.so
other session required pam_deny.so
lowkey obsessed with how it pairspam_warn.sowithpam_deny.soevery single time โ warn first, then deny. logging the vibe check, then shutting the door. ๐ญ
๐ SEE ALSO ๐
๐ AUTHOR ๐
pam_warn was written by Andrew G. Morgan <morgan@kernel.org>. we stan. ๐
k bye bestie!! this was Linux-PAM, dated 09/27/2026, and you just read PAM_WARN(8). go forth and log responsibly ๐ฆโจ๐
๐ฆ where this page comes from
- arch rolling: pam 1.7.3-1 ยท GPL-2.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms