table of contents
PAM_SM_AUTHENTICATE(3) | Linux-PAM Manual | PAM_SM_AUTHENTICATE(3) |
NAME¶
pam_sm_authenticate - PAM service function for user authentication
SYNOPSIS¶
#include <security/pam_modules.h>
int pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc, const char **argv);
DESCRIPTION¶
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
RETURN VALUES¶
PAM_AUTH_ERR
PAM_CRED_INSUFFICIENT
PAM_AUTHINFO_UNAVAIL
PAM_SUCCESS
PAM_USER_UNKNOWN
PAM_MAXTRIES
SEE ALSO¶
pam(3), pam_authenticate(3), pam_sm_setcred(3), pam_strerror(3), PAM(8)
05/07/2023 | Linux-PAM |