1999-12-30 04:08:44 +00:00
|
|
|
#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);
|
2000-01-26 23:55:38 +00:00
|
|
|
void do_pam_session(char *username, const char *ttyname);
|
1999-12-30 04:08:44 +00:00
|
|
|
void do_pam_setcred();
|
|
|
|
void print_pam_messages(void);
|
2000-09-16 05:09:27 +00:00
|
|
|
void do_pam_chauthtok();
|
1999-12-30 04:08:44 +00:00
|
|
|
|
|
|
|
#endif /* USE_PAM */
|