1PAM_SYSLOG(3)                  Linux-PAM Manual                  PAM_SYSLOG(3)
2
3
4

NAME

6       pam_syslog, pam_vsyslog - send messages to the system logger
7

SYNOPSIS

9       #include <syslog.h>
10
11       #include <security/pam_ext.h>
12
13       void pam_syslog(const pam_handle_t *pamh, int priority,
14                       const char *fmt, ...);
15
16       void pam_vsyslog(const pam_handle_t *pamh, int priority,
17                        const char *fmt, va_list args);
18

DESCRIPTION

20       The pam_syslog function logs messages using syslog(3) and is intended
21       for internal use by Linux-PAM and PAM service modules. The priority
22       argument is formed by ORing the facility and the level values as
23       documented in the syslog(3) manual page.
24
25       The pam_vsyslog function performs the same task as pam_syslog() with
26       the difference that it takes a set of arguments which have been
27       obtained using the stdarg(3) variable argument list macros.
28

SEE ALSO

30       pam(8)
31

STANDARDS

33       The pam_syslog and pam_vsyslog functions are Linux-PAM extensions.
34
35
36
37Linux-PAM Manual                  05/18/2017                     PAM_SYSLOG(3)
Impressum