ProxyAuth
Linux PAM to authenticate device via Bluetooth device
|
#include <errno.h>
#include <limits.h>
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <time.h>
#include <unistd.h>
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
#include <bluetooth/hci_lib.h>
#include <glib.h>
#include <gio/gio.h>
#include <security/pam_appl.h>
#include <security/pam_modules.h>
#include "pam_misc.h"
#include "pam_bt_misc.h"
#include "pam_bt_pair.h"
#include "pam_bt_trust.h"
#include "pam_post_auth.h"
Go to the source code of this file.
Functions | |
PAM_EXTERN int | pam_sm_setcred (pam_handle_t *pamh, int flags, int argc, const char **argv) |
PAM_EXTERN int | pam_sm_acct_mgmt (pam_handle_t *pamh, int flags, int argc, const char **argv) |
PAM_EXTERN int | pam_sm_authenticate (pam_handle_t *pamh, int flags, int argc, const char **argv) |
PAM_EXTERN int pam_sm_acct_mgmt | ( | pam_handle_t * | pamh, |
int | flags, | ||
int | argc, | ||
const char ** | argv | ||
) |
Not Used
Definition at line 7 of file pam_proxy.c.
PAM_EXTERN int pam_sm_authenticate | ( | pam_handle_t * | pamh, |
int | flags, | ||
int | argc, | ||
const char ** | argv | ||
) |
Handles User Authentication whether or not to approve the connected device as the hardware authenticator
pamh | the PAM handle representing the current user authentication session |
flags | |
argc | |
argv |
Definition at line 12 of file pam_proxy.c.
PAM_EXTERN int pam_sm_setcred | ( | pam_handle_t * | pamh, |
int | flags, | ||
int | argc, | ||
const char ** | argv | ||
) |
Not Used
Definition at line 3 of file pam_proxy.c.