PAM_DEBUGINFO(8)

πŸ“¦
version 1.4.0 Β· 3 versions
, in ubuntu stonking

πŸ’… 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 which syslog(3) level the info should be printed at. The valid values are debug, info, notice, warning, error, critical, alert and emerg. 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 🌟

pam.conf(5), pam.d(5), pam(8)


πŸ’œ 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