{"id":3385,"date":"2022-12-20T17:02:31","date_gmt":"2022-12-20T20:02:31","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/pam_echo-man8\/"},"modified":"2022-12-20T17:02:31","modified_gmt":"2022-12-20T20:02:31","slug":"pam_echo-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/pam_echo-man8\/","title":{"rendered":"PAM_ECHO (man8)"},"content":{"rendered":"<h1 align=\"center\">PAM_ECHO<\/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_echo \u2212 PAM module for printing text messages<\/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=\"49%\">\n<p style=\"margin-top: 1em\"><b>pam_echo.so<\/b> [file=<i>\/path\/message<\/i>]<\/p>\n<\/td>\n<td width=\"40%\"> <\/td>\n<\/tr>\n<\/table>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <i>pam_echo<\/i> PAM module is for printing text messages to inform user about special things. Sequences starting with the <i>%<\/i> character are interpreted in the following way:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>%H<\/i><\/p>\n<p style=\"margin-left:17%;\">The name of the remote host (PAM_RHOST).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>%h<\/i><\/p>\n<p style=\"margin-left:17%;\">The name of the local host.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>%s<\/i><\/p>\n<p style=\"margin-left:17%;\">The service name (PAM_SERVICE).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>%t<\/i><\/p>\n<p style=\"margin-left:17%;\">The name of the controlling terminal (PAM_TTY).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>%U<\/i><\/p>\n<p style=\"margin-left:17%;\">The remote user name (PAM_RUSER).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>%u<\/i><\/p>\n<p style=\"margin-left:17%;\">The local user name (PAM_USER).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">All other sequences beginning with <i>%<\/i> expands to the characters following the <i>%<\/i> character.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>file=<\/b><i>\/path\/message<\/i><\/p>\n<p style=\"margin-left:17%;\">The content of the file \/path\/message will be printed with the PAM conversion function as PAM_TEXT_INFO.<\/p>\n<h2>MODULE TYPES PROVIDED <a name=\"MODULE TYPES PROVIDED\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">All module types (<b>auth<\/b>, <b>account<\/b>, <b>password<\/b> and <b>session<\/b>) are 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_SUCCESS<\/p>\n<p style=\"margin-left:17%;\">Message was successful printed.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">PAM_IGNORE<\/p>\n<p style=\"margin-left:17%;\">PAM_SILENT flag was given or message file does not exist, no message printed.<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">For an example of the use of this module, we show how it may be used to print information about good passwords:<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">password optional pam_echo.so file=\/usr\/share\/doc\/good\u2212password.txt <br \/> password required pam_unix.so<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>pam.conf<\/b>(8), <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\">Thorsten Kukuk <kukuk@thkukuk.de><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  pam_echo \u2212 PAM module for printing text messages <\/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,513],"class_list":["post-3385","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-pam_echo"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3385","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=3385"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3385\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3385"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}