pam_syslog(3) — Linux manual page


PAM_SYSLOG(3)               Linux-PAM Manual               PAM_SYSLOG(3)

NAME         top

       pam_syslog, pam_vsyslog - send messages to the system logger

SYNOPSIS         top

       #include <syslog.h>

       #include <security/pam_ext.h>

       void pam_syslog(const pam_handle_t *pamh, int priority,
                       const char *fmt, ...);

       void pam_vsyslog(const pam_handle_t *pamh, int priority,
                        const char *fmt, va_list args);

DESCRIPTION         top

       The pam_syslog function logs messages using syslog(3) and is
       intended for internal use by Linux-PAM and PAM service modules.
       The priority argument is formed by ORing the facility and the
       level values as documented in the syslog(3) manual page.

       The pam_vsyslog function performs the same task as pam_syslog()
       with the difference that it takes a set of arguments which have
       been obtained using the stdarg(3) variable argument list macros.

SEE ALSO         top


STANDARDS         top

       The pam_syslog and pam_vsyslog functions are Linux-PAM

COLOPHON         top

       This page is part of the linux-pam (Pluggable Authentication
       Modules for Linux) project.  Information about the project can be
       found at ⟨⟩.  If you have a bug report
       for this manual page, see ⟨//⟩.  This page was
       obtained from the tarball Linux-PAM-1.3.0.tar.bz2 fetched from
       ⟨⟩ on 2021-08-27.  If you
       discover any rendering problems in this HTML version of the page,
       or you believe there is a better or more up-to-date source for
       the page, or you have corrections or improvements to the
       information in this COLOPHON (which is not part of the original
       manual page), send a mail to

Linux-PAM Manual               04/01/2016                  PAM_SYSLOG(3)