blob: 160268c9996aaa3928b7554c6ce3b76f218b66c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#include "config.h"
#ifdef PAM_STATIC
#define static extern
#define PAM_SM_ACCOUNT
#define PAM_SM_AUTH
#define PAM_SM_PASSWORD
#define PAM_SM_SESSION
#include "pam_unix_static.h"
#include <security/pam_modules.h>
struct pam_module _pam_unix_modstruct = {
"pam_unix",
pam_sm_authenticate,
pam_sm_setcred,
pam_sm_acct_mgmt,
pam_sm_open_session,
pam_sm_close_session,
pam_sm_chauthtok,
};
#endif
|