PAM_SM_AUTHENTICATE(3) | Linux-PAM Manual | PAM_SM_AUTHENTICATE(3) |
pam_sm_authenticate - PAM service function for user authentication
#include <security/pam_modules.h>
int pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc, const char **argv);
The pam_sm_authenticate function is the service module's implementation of the pam_authenticate(3) interface.
This function performs the task of authenticating the user.
Valid flags, which may be logically OR'd with PAM_SILENT, are:
PAM_SILENT
PAM_DISALLOW_NULL_AUTHTOK
PAM_AUTH_ERR
PAM_CRED_INSUFFICIENT
PAM_AUTHINFO_UNAVAIL
PAM_SUCCESS
PAM_USER_UNKNOWN
PAM_MAXTRIES
pam(3), pam_authenticate(3), pam_sm_setcred(3), pam_strerror(3), PAM(8)
09/03/2021 | Linux-PAM Manual |