6.3. pam_debug-调试 PAM 堆栈

pam_debug.so [auth = * +14+ *] [cred = * +15+ *] [acct = * +16+ *] [prechauthtok = * +17+ *] [chauthtok = * +18+ *] [auth = * +19+ *] [open_session = * +20+ *] [close_session = * +21+ *]

6.3.1. DESCRIPTION

pam_debug PAM 模块旨在用作确定 PAM 堆栈如何运行的调试助手。该模块返回其模块自变量告诉它返回的内容。

6.3.2. OPTIONS

其中* value *可以是以下之一:成功,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_unired, ,authtok_recover_err,authtok_lock_busy,authtok_disable_aging,try_again,忽略,中止,authtok_expired,module_unknown,bad_item,conv_again,不完整。

6.3.3. 提供的模块类型

提供了所有模块类型(authaccountpasswordsession)。

6.3.4. 返回值

6.3.5. EXAMPLES

auth    requisite       pam_permit.so
auth    [success=2 default=ok]  pam_debug.so auth=perm_denied cred=success
auth    [default=reset]         pam_debug.so auth=success cred=perm_denied
auth    [success=done default=die] pam_debug.so
auth    optional        pam_debug.so auth=perm_denied cred=perm_denied
auth    sufficient      pam_debug.so auth=success cred=success

6.3.6. AUTHOR

pam_debug 由 Andrew G. Morgan<morgan@kernel.org>编写。

上一章 首页 下一章