6.39. pam_warn-记录所有 PAM 项目

pam_warn.so

6.39.1. DESCRIPTION

pam_warn 是一个 PAM 模块,用于将服务,终端,用户,远程用户和远程主机记录到 syslog(3)。这些项目不会被探查,而是从标准 PAM 项目获得。模块始终返回* PAM_IGNORE *,表明它不想影响身份验证过程。

6.39.2. OPTIONS

该模块无法识别任何选项。

6.39.3. 提供的模块类型

提供了authaccountpasswordsession模块类型。

6.39.4. 返回值

  • PAM_IGNORE

    • 该模块始终返回 PAM_IGNORE。

6.39.5. EXAMPLES

#%PAM-1.0
#
# If we don't have config entries for a service, the
# OTHER entries are used. To be secure, warn and deny
# access to everything.
other auth     required       pam_warn.so
other auth     required       pam_deny.so
other account  required       pam_warn.so
other account  required       pam_deny.so
other password required       pam_warn.so
other password required       pam_deny.so
other session  required       pam_warn.so
other session  required       pam_deny.so

6.39.6. AUTHOR

pam_warn 由 Andrew G. Morgan<[email protected]>编写。