NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | STANDARDS | COLOPHON |
|
|
PAM_SYSLOG(3) Linux-PAM Manual PAM_SYSLOG(3)
pam_syslog, pam_vsyslog - send messages to the system logger
#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);
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.
pam(8)
The pam_syslog and pam_vsyslog functions are Linux-PAM extensions.
This page is part of the linux-pam (Pluggable Authentication
Modules for Linux) project. Information about the project can be
found at ⟨http://www.linux-pam.org/⟩. If you have a bug report
for this manual page, see ⟨//www.linux-pam.org/⟩. This page was
obtained from the project's upstream Git repository
⟨https://github.com/linux-pam/linux-pam.git⟩ on 2023-12-22. (At
that time, the date of the most recent commit that was found in
the repository was 2023-12-18.) 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
man-pages@man7.org
Linux-PAM Manual 12/22/2023 PAM_SYSLOG(3)