#include <pwd.h>
Go to the source code of this file.
Data Structures | |
struct | _pam_macs_config |
Represents MACS' configuration state. More... | |
Defines | |
#define | PAM_MACS_CONFIG "--PAM-MACS-CONFIG--" |
#define | MACS_DEF_METH "NULL" |
#define | MACS_DEF_RES "PAM" |
#define | MACS_DEF_P 1 |
#define | MACS_DEF_D 1 |
#define | MACS_LOGIN_PROMPT "MACS username: " |
#define | MACS_START_MSG "\nThis version of the macs pam module only allows logins if the local\npam username matches the internal macs username.\n\nThe macs pam module is alpha software. If you are using this on a\nproduction machine, STOP immediately, and check yourself into a mental\ninstitution.\n\nOtherwise, enjoy!\n\n" |
#define | MACS_DEF_V 1 |
#define | _pam_overwrite(x) |
Overwrites a chunk of memory. Copied from Linux-PAM for source portability. | |
#define | _pam_drop_reply(reply, replies) |
Overwrites pam reply structures, so passwords don't stay in core. Copied from Linux-PAM for source portability. | |
Functions | |
void | _pam_macs_cleanup (pam_handle_t *, void *, int) |
Cleanup data items. | |
int | _pam_macs_getopt (_pam_macs_config *, int, int, const char **) |
Parse the "command-line" options from pam.conf. |
|
Cleanup data items.
|
|
Parse the "command-line" options from pam.conf.
|