pam_issue8Linux-PAMLinux-PAM Manualpam_issuePAM module to add issue file to user promptpam_issue.so
noesc
issue=issue-file-nameDESCRIPTION
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).
Recognized escapes:
\dcurrent day\lname of this tty\mmachine architecture (uname -m)\nmachine's network node hostname (uname -n)\odomain name of this system\rrelease number of operating system (uname -r)\tcurrent time\soperating system name (uname -s)\unumber of users currently logged in\U
same as \u except it is suffixed with "user" or
"users" (eg. "1 user" or "10 users")
\voperating system version and build date (uname -v)OPTIONS
noesc
Turns off escape code parsing.
issue=issue-file-name
The file to output if not using the default.
MODULE TYPES PROVIDED
Only the module type is provided.
RETURN VALUESPAM_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
SEE ALSOpam.conf5,
pam.d5,
pam8AUTHOR
pam_issue was written by Ben Collins <bcollins@debian.org>.