Go to main content

man pages section 7: Standards, Environments, Macros, Character Sets, and Miscellany

Exit Print View

Updated: Wednesday, August 8, 2018
 
 

pam_fm_notify (7)

Name

pam_fm_notify - display useful FMA statistics like unresolved fault count

Synopsis

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

Description

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.

Return Values

pam_fm_notify.so.1 always returns PAM_IGNORE.

Examples

Example 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).


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

Attributes

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

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed

See Also

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