blob: f537fe7ba27016467728608f1589e1b4ec0a8703 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "includes.h"
#ifdef USE_PAM
#include <pwd.h> /* For struct passwd */
void start_pam(struct passwd *pw);
void finish_pam(void);
int auth_pam_password(struct passwd *pw, const char *password);
char **fetch_pam_environment(void);
int do_pam_account(char *username, char *remote_user);
void do_pam_session(char *username, const char *ttyname);
void do_pam_setcred();
void print_pam_messages(void);
void do_pam_chauthtok();
#endif /* USE_PAM */
|