{"id":3694,"date":"2022-12-20T17:19:47","date_gmt":"2022-12-20T20:19:47","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/pam_issue-man8\/"},"modified":"2022-12-20T17:19:47","modified_gmt":"2022-12-20T20:19:47","slug":"pam_issue-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/pam_issue-man8\/","title":{"rendered":"PAM_ISSUE (man8)"},"content":{"rendered":"<h1 align=\"center\">PAM_ISSUE<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#MODULE TYPES PROVIDED\">MODULE TYPES PROVIDED<\/a><br \/> <a href=\"#RETURN VALUES\">RETURN VALUES<\/a><br \/> <a href=\"#EXAMPLES\">EXAMPLES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">pam_issue \u2212 PAM module to add issue file to user prompt<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"67%\">\n<p style=\"margin-top: 1em\"><b>pam_issue.so<\/b> [noesc] [issue=<i>issue\u2212file\u2212name<\/i>]<\/p>\n<\/td>\n<td width=\"22%\"> <\/td>\n<\/tr>\n<\/table>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">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&#8217;s (using x format).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Recognized escapes:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>d<\/b><\/p>\n<p style=\"margin-left:17%;\">current day<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>l<\/b><\/p>\n<p style=\"margin-left:17%;\">name of this tty<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>m<\/b><\/p>\n<p style=\"margin-left:17%;\">machine architecture (uname \u2212m)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>n<\/b><\/p>\n<p style=\"margin-left:17%;\">machine&#8217;s network node hostname (uname \u2212n)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>o<\/b><\/p>\n<p style=\"margin-left:17%;\">domain name of this system<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>r<\/b><\/p>\n<p style=\"margin-left:17%;\">release number of operating system (uname \u2212r)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>t<\/b><\/p>\n<p style=\"margin-left:17%;\">current time<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>s<\/b><\/p>\n<p style=\"margin-left:17%;\">operating system name (uname \u2212s)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>u<\/b><\/p>\n<p style=\"margin-left:17%;\">number of users currently logged in<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>U<\/b><\/p>\n<p style=\"margin-left:17%;\">same as u except it is suffixed with &#8220;user&#8221; or &#8220;users&#8221; (eg. &#8220;1 user&#8221; or &#8220;10 users&#8221;)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>v<\/b><\/p>\n<p style=\"margin-left:17%;\">operating system version and build date (uname \u2212v)<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>noesc<\/b><\/p>\n<p style=\"margin-left:17%;\">Turns off escape code parsing.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>issue=<\/b><i>issue\u2212file\u2212name<\/i><\/p>\n<p style=\"margin-left:17%;\">The file to output if not using the default.<\/p>\n<h2>MODULE TYPES PROVIDED <a name=\"MODULE TYPES PROVIDED\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Only the <b>auth<\/b> module type is provided.<\/p>\n<h2>RETURN VALUES <a name=\"RETURN VALUES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">PAM_BUF_ERR<\/p>\n<p style=\"margin-left:17%;\">Memory buffer error.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">PAM_IGNORE<\/p>\n<p style=\"margin-left:17%;\">The prompt was already changed.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">PAM_SERVICE_ERR<\/p>\n<p style=\"margin-left:17%;\">A service module error occurred.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">PAM_SUCCESS<\/p>\n<p style=\"margin-left:17%;\">The new prompt was set successfully.<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Add the following line to \/etc\/pam.d\/login to set the user specific issue at login:<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">auth optional pam_issue.so issue=\/etc\/issue<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>pam.conf<\/b>(5), <b>pam.d<\/b>(5), <b>pam<\/b>(8)<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">pam_issue was written by Ben Collins <bcollins@debian.org>.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  pam_issue \u2212 PAM module to add issue file to user prompt <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,806],"class_list":["post-3694","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-pam_issue"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3694"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3694\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3694"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}