1 /* 2 * This module implements a simple but effective form of login access 3 * control based on login names and on host (or domain) names, internet 4 * addresses (or network numbers), or on terminal line names in case of 5 * non-networked logins. Diagnostics are reported through syslog(3). 6 * 7 * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands. 8 */ 9
| 1 /* 2 * This module implements a simple but effective form of login access 3 * control based on login names and on host (or domain) names, internet 4 * addresses (or network numbers), or on terminal line names in case of 5 * non-networked logins. Diagnostics are reported through syslog(3). 6 * 7 * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands. 8 */ 9
|
10#include <sys/cdefs.h> 11 12__FBSDID("$FreeBSD: head/lib/libpam/modules/pam_login_access/login_access.c 87233 2001-12-02 20:54:57Z markm $"); 13
| |
14#ifdef LOGIN_ACCESS
| 10#ifdef LOGIN_ACCESS
|
| 11#if 0
|
15#ifndef lint
| 12#ifndef lint
|
16static const char sccsid[] = "%Z% %M% %I% %E% %U%";
| 13static char sccsid[] = "%Z% %M% %I% %E% %U%";
|
17#endif
| 14#endif
|
| 15#endif
|
18
| 16
|
| 17#include <sys/cdefs.h> 18__FBSDID("$FreeBSD: head/lib/libpam/modules/pam_login_access/login_access.c 87628 2001-12-10 21:13:08Z dwmalone $"); 19
|
19#include <sys/types.h> 20#include <ctype.h> 21#include <errno.h> 22#include <grp.h> 23#include <stdio.h> 24#include <stdlib.h> 25#include <string.h> 26#include <syslog.h>
--- 211 unchanged lines hidden --- | 20#include <sys/types.h> 21#include <ctype.h> 22#include <errno.h> 23#include <grp.h> 24#include <stdio.h> 25#include <stdlib.h> 26#include <string.h> 27#include <syslog.h>
--- 211 unchanged lines hidden --- |