{"id":3599,"date":"2022-12-20T17:09:07","date_gmt":"2022-12-20T20:09:07","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/pam_debug-man8\/"},"modified":"2022-12-20T17:09:07","modified_gmt":"2022-12-20T20:09:07","slug":"pam_debug-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/pam_debug-man8\/","title":{"rendered":"PAM_DEBUG (man8)"},"content":{"rendered":"<h1 align=\"center\">PAM_DEBUG<\/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_debug \u2212 PAM module to debug the PAM stack<\/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=\"89%\">\n<p style=\"margin-top: 1em\"><b>pam_debug.so<\/b> [auth=<i>value<\/i>] [cred=<i>value<\/i>] [acct=<i>value<\/i>] [prechauthtok=<i>value<\/i>] [chauthtok=<i>value<\/i>] [auth=<i>value<\/i>] [open_session=<i>value<\/i>] [close_session=<i>value<\/i>]<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The pam_debug PAM module is intended as a debugging aide for determining how the PAM stack is operating. This module returns what its module arguments tell it to return.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>auth=<\/b><i>value<\/i><\/p>\n<p style=\"margin-left:17%;\">The <b>pam_sm_authenticate<\/b>(3) function will return <i>value<\/i>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>cred=<\/b><i>value<\/i><\/p>\n<p style=\"margin-left:17%;\">The <b>pam_sm_setcred<\/b>(3) function will return <i>value<\/i>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>acct=<\/b><i>value<\/i><\/p>\n<p style=\"margin-left:17%;\">The <b>pam_sm_acct_mgmt<\/b>(3) function will return <i>value<\/i>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>prechauthtok=<\/b><i>value<\/i><\/p>\n<p style=\"margin-left:17%;\">The <b>pam_sm_chauthtok<\/b>(3) function will return <i>value<\/i> if the <i>PAM_PRELIM_CHECK<\/i> flag is set.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>chauthtok=<\/b><i>value<\/i><\/p>\n<p style=\"margin-left:17%;\">The <b>pam_sm_chauthtok<\/b>(3) function will return <i>value<\/i> if the <i>PAM_PRELIM_CHECK<\/i> flag is <b>not<\/b> set.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>open_session=<\/b><i>value<\/i><\/p>\n<p style=\"margin-left:17%;\">The <b>pam_sm_open_session<\/b>(3) function will return <i>value<\/i>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>close_session=<\/b><i>value<\/i><\/p>\n<p style=\"margin-left:17%;\">The <b>pam_sm_close_session<\/b>(3) function will return <i>value<\/i>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Where <i>value<\/i> can be one of: success, open_err, symbol_err, service_err, system_err, buf_err, perm_denied, auth_err, cred_insufficient, authinfo_unavail, user_unknown, maxtries, new_authtok_reqd, acct_expired, session_err, cred_unavail, cred_expired, cred_err, no_module_data, conv_err, authtok_err, authtok_recover_err, authtok_lock_busy, authtok_disable_aging, try_again, ignore, abort, authtok_expired, module_unknown, bad_item, conv_again, incomplete.<\/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_SUCCESS<\/p>\n<p style=\"margin-left:17%;\">Default return code if no other value was specified, else specified return value.<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:17%; margin-top: 1em\">auth requisite pam_permit.so <br \/> auth [success=2 default=ok] pam_debug.so auth=perm_denied cred=success <br \/> auth [default=reset] pam_debug.so auth=success cred=perm_denied <br \/> auth [success=done default=die] pam_debug.so <br \/> auth optional pam_debug.so auth=perm_denied cred=perm_denied <br \/> auth sufficient pam_debug.so auth=success cred=success<\/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_debug was written by Andrew G. Morgan <morgan@kernel.org>.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  pam_debug \u2212 PAM module to debug the PAM stack <\/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,715],"class_list":["post-3599","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-pam_debug"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3599","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=3599"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3599\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3599"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3599"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}