PAM_ISSUE
Section: Linux-PAM Manual (8)Updated: 09/19/2013
Index Return to Main Contents
NAME
pam_issue - PAM module to add issue file to user promptSYNOPSIS
- pam_issue.so [noesc] [issue=issue-file-name]
DESCRIPTION
Recognized escapes:
\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 \u except 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.
issue=issue-file-name
- The file to output if not using the default.
MODULE TYPES PROVIDED
Only the auth module type is provided.
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
SEE ALSO
AUTHOR
pam_issue was written by Ben Collins <bcollins@debian.org>.
Index
This document was created by man2html, using the manual pages.
Time: 04:46:00 GMT, September 16, 2022
0 댓글