PAM_ERROR(3) Linux-PAM Manual PAM_ERROR(3)

pam_error, pam_verror - display error messages to the user

#include <security/pam_ext.h>

int pam_error(pam_handle_t *pamh, const char *fmt, ...);

int pam_verror(pam_handle_t *pamh, const char *fmt, va_list args);

The pam_error function prints error messages through the conversation function to the user.

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


Memory buffer error.


Conversation failure.


Error message was displayed.


System error.

pam_info(3), pam_vinfo(3), pam_prompt(3), pam_vprompt(3), pam(8)

The pam_error and pam_verror functions are Linux-PAM extensions.

04/09/2024 Linux-PAM