PAM_ISSUE(8)
โจ PAM_ISSUE ๐
okay bestie, gather round, because this is pam_issue โ it lives in section 8 of the Linux-PAM manual and it's literally the module that puts your lil issue file up top of the username prompt ๐ no cap
๐ธ NAME ๐ธ
pam_issue โ a PAM module that adds an issue file to your user prompt ๐ซถ
โจ SYNOPSIS โจ
pam_issue.so [noesc] [issue=issue-file-name]
๐ DESCRIPTION ๐
So pam_issue is a PAM module whose whole job is to prepend an issue file to the username prompt ๐ and like, by default it also parses escape codes in that issue file, same vibe as some common getty's โ and yes it uses the \x format, iykyk โจ
Here's the escape codes it recognizes, they're giving little magic spells fr fr:
\dโ current day ๐\lโ name of this tty ๐ฅ๏ธ\mโ machine architecture (uname -m)\nโ machine's network node hostname (uname -n)\oโ domain name of this system ๐\rโ release number of operating system (uname -r)\tโ current time โฐ\sโ operating system name (uname -s)\uโ number of users currently logged in ๐ฅ\Uโ same as\uexcept it is suffixed with "user" or "users" (eg. "1 user" or "10 users") ๐\vโ operating system version and build date (uname -v)
๐ OPTIONS ๐
noescโ turns off escape code parsing ๐ like, we're not doing the magic todayissue=issue-file-nameโ the file to output if you're not using the default ๐
๐ 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 ate ๐
โญ RETURN VALUES โญ
PAM_BUF_ERRโ memory buffer error ๐ญPAM_IGNOREโ the prompt was already changed ๐PAM_SERVICE_ERRโ a service module error occurred ๐จPAM_SUCCESSโ the new prompt was set successfully ๐
๐ฆ EXAMPLES ๐ฆ
Add the following line to /etc/pam.d/login to set the user specific issue at login:
auth optional pam_issue.so issue=/etc/issue
slay, that's it, that's the whole config ๐ซถ
๐ SEE ALSO ๐
๐ AUTHOR ๐
pam_issue was written by Ben Collins <bcollins@debian.org> ๐
no cap, every flag and every escape stayed exactly where it was supposed to be. we keep the facts, we just made them cute โจ
and that's the tea, bestie โ this page came to you from Linux-PAM, dated 09/27/2026, under the name PAM_ISSUE(8) ๐ periodt ๐
๐ฆ 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