Go to main content

手册页第 7 部分:标准、环境、宏、字符集和杂项

退出打印视图

更新时间: 2022年7月27日 星期三
 
 

pam_fm_notify (7)

名称

pam_fm_notify - display useful FMA statistics like unresolved fault count

用法概要

/usr/lib/security/pam_fm_notify.so.1

描述

When PAM configurations for various sessions are updated to use the pam_fm_notify() function, then it will notify the user with useful FMA status at the beginning of the respective sessions. If there are no unresolved faults, then nothing will be displayed.

The following options can be passed to the module:

debug

syslog() debugging information at the LOG_DEBUG level. For more information, see the syslog(3C) man page.

nowarn

Disables displaying the FMA statistics.

返回值

pam_fm_notify.so.1 always returns PAM_IGNORE.

示例

示例 1 Configuring to display fm_statistics() for a ssh session

In the /etc/pam.d/other just after the pam_unix_session.so.1 include:

session optional        pam_fm_notify.so.1

Adding the pam_fm_notify.so.1 will display the following output on the beginning of ssh session (if there are any unresolved faults or alerts).


注 -  The system has 8 active faults and alerts. Run fmadm list for details and for more information, see the fmadm(8) man page.

属性

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed

另请参见

libpam(3LIB), pam(3PAM), fmadm(8), fmd(8), fmstat(8)