pam_issue - PAM module to add issue file to user prompt
2. SYNOPSIS ▲
pam_issue.so [noesc] [issue=issue-file-name]
3. DESCRIPTION ▲
pam_issue is a PAM module to prepend an issue file to the username prompt. It also by default parses escape codes in the issue file similar to some common getty\'s (using \x format).
name of this tty
machine architecture (uname -m)
machine\'s network node hostname (uname -n)
domain name of this system
release number of operating system (uname -r)
operating system name (uname -s)
number of users currently logged in
same as \u except it is suffixed with "user" or "users" (eg. "1 user" or "10 users")
operating system version and build date (uname -v)
4. OPTIONS ▲
Turns off escape code parsing.
The file to output if not using the default.
5. MODULE TYPES PROVIDED ▲
Only the auth module type is provided.
6. RETURN VALUES ▲
Memory buffer error.
The prompt was already changed.
A service module error occurred.
The new prompt was set successfully.
7. EXAMPLES ▲
Add the following line to /etc/pam.d/login to set the user specific issue at login:
auth optional pam_issue.so issue
8. SEE ALSO ▲
pam.conf(5), pam.d(5), pam(7)
9. AUTHOR ▲
pam_issue was written by Ben Collins <>.