pamh 52 src/security.c static pam_handle_t *pamh = NULL; pamh 84 src/security.c log_it(pw->pw_name, getpid(), "PAM ERROR", pam_strerror(pamh, retcode), 0); \ pamh 85 src/security.c if (pamh != NULL) { \ pamh 87 src/security.c pam_close_session(pamh, PAM_SILENT); \ pamh 88 src/security.c pam_end(pamh, retcode); \ pamh 89 src/security.c pamh = NULL; \ pamh 131 src/security.c pam_strerror(pamh, ret), 0); pamh 159 src/security.c if (pamh != NULL && (ret = cron_open_pam_session(e->pwd)) != 0) { pamh 161 src/security.c "FAILED to open PAM security session", pam_strerror(pamh, ret), 0); pamh 198 src/security.c retcode = pam_start("crond", pw->pw_name, &conv, &pamh); pamh 200 src/security.c retcode = pam_set_item(pamh, PAM_TTY, "cron"); pamh 202 src/security.c retcode = pam_acct_mgmt(pamh, PAM_SILENT); pamh 204 src/security.c retcode = pam_setcred(pamh, PAM_ESTABLISH_CRED | PAM_SILENT); pamh 215 src/security.c retcode = pam_open_session(pamh, PAM_SILENT); pamh 227 src/security.c pam_setcred(pamh, PAM_DELETE_CRED | PAM_SILENT); pamh 228 src/security.c pam_close_session(pamh, PAM_SILENT); pamh 230 src/security.c if (pamh != NULL) { pamh 231 src/security.c pam_end(pamh, PAM_SUCCESS); pamh 232 src/security.c pamh = NULL; pamh 253 src/security.c if (pamh != NULL) { pamh 254 src/security.c pam_setcred(pamh, PAM_REINITIALIZE_CRED | PAM_SILENT); pamh 654 src/security.c if (pamh == NULL || (jobenv=pam_getenvlist(pamh)) == NULL) {