PAM_DEBUGINFO(8)
π
PAM_DEBUGINFO(8) β aka pam_debuginfo π
okay bestie, sit DOWN, because this little module is about to become your new emotional support sysadmin tool β¨
πΈ NAME πΈ
pam_debuginfo β a PAM module that logs a whole bunch of useful info, purely for debugging π
π¦ SYNOPSIS π¦
pam_debuginfo.so [...]
β¨ DESCRIPTION β¨
So like, this is a PAM module and its entire job β its whole personality, honestly β is logging a LOT of genuinely useful stuff so you can debug things. Not me being dramatic, that's literally the assignment. π«Ά
It logs the following, every single one of them, no crumbs left behind:
- Service name
- PAM type
- PAM flags
- UID
- EUID
- PAM items
- SELinux status
- NoNewPrivs status
like it's giving "tell me everything, leave nothing out" and honestly? iconic behavior π
π OPTIONS π
loglevel=level β this is where you tell it whichsyslog(3)level the info should be printed at. The valid values aredebug,info,notice,warning,error,critical,alertandemerg. That's the whole list, no extras, don't freestyle it π
π MODULE TYPES PROVIDED π
All of them, bestie β every module type is provided: account, auth, password and session. She does it all. Main character energy fr fr β¨
π₯ RETURN VALUES π₯
PAM_IGNOREβ returned by all service types. Every single one. That's it, that's the return value, no surprises here π
π EXAMPLES π
Wanna log ALL the information via syslog(8)? Just drop the following lines into e.g. /etc/pam.d/login:
auth optional pam_debuginfo.so
account optional pam_debuginfo.so
password optional pam_debuginfo.so
session optional pam_debuginfo.so
literally copy that and you're soooo set π
π SEE ALSO π
π AUTHOR π
pam_debuginfo was written by Thorsten Kukuk <kukuk@suse.com>. thank you king, we love you πββοΈ
ok that's the whole page bestie, no notes, no hidden chapters, we ate and left no crumbs π
and that's a wrap!! this gorgeous little writeup came to you from account-utils 1.4.0, dated 07/17/2026 β PAM_DEBUGINFO(8) forever and ever, mwah ππ
π¦ where this page comes from
- ubuntu stonking: account-utils 1.4.0-1 Β· 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