aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_access
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2008-01-08 12:44:15 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2008-01-08 12:44:15 +0000
commitd48c90b14254794fcad9ccc37873a8c663cce02d (patch)
tree62e42b3fd242091e7fab171d1b816586c09e743c /modules/pam_access
parent1f802e15b36f0ca69dc4127a9332983acfd70117 (diff)
downloadpam-d48c90b14254794fcad9ccc37873a8c663cce02d.tar.gz
pam-d48c90b14254794fcad9ccc37873a8c663cce02d.tar.bz2
pam-d48c90b14254794fcad9ccc37873a8c663cce02d.zip
Relevant BUGIDs:
Purpose of commit: cleanup Commit summary: --------------- Remove autogenerated documentation from CVS
Diffstat (limited to 'modules/pam_access')
-rw-r--r--modules/pam_access/.cvsignore3
-rw-r--r--modules/pam_access/README120
-rw-r--r--modules/pam_access/access.conf.5170
-rw-r--r--modules/pam_access/pam_access.8112
4 files changed, 3 insertions, 402 deletions
diff --git a/modules/pam_access/.cvsignore b/modules/pam_access/.cvsignore
index 9fb98574..6e648372 100644
--- a/modules/pam_access/.cvsignore
+++ b/modules/pam_access/.cvsignore
@@ -4,3 +4,6 @@
.libs
Makefile
Makefile.in
+README
+access.conf.5
+pam_access.8
diff --git a/modules/pam_access/README b/modules/pam_access/README
deleted file mode 100644
index ec0d67e0..00000000
--- a/modules/pam_access/README
+++ /dev/null
@@ -1,120 +0,0 @@
-pam_access — PAM module for logdaemon style login access control
-
-━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
-
-DESCRIPTION
-
-The pam_access PAM module is mainly for access management. It provides
-logdaemon style login access control based on login names, host or domain
-names, internet addresses or network numbers, or on terminal line names in case
-of non-networked logins.
-
-By default rules for access management are taken from config file /etc/security
-/access.conf if you don't specify another file.
-
-If Linux PAM is compiled with audit support the module will report when it
-denies access based on origin (host or tty).
-
-OPTIONS
-
-accessfile=/path/to/access.conf
-
- Indicate an alternative access.conf style configuration file to override
- the default. This can be useful when different services need different
- access lists.
-
-debug
-
- A lot of debug informations are printed with syslog(3).
-
-noaudit
-
- Do not report logins from disallowed hosts and ttys to the audit subsystem.
-
-fieldsep=separators
-
- This option modifies the field separator character that pam_access will
- recognize when parsing the access configuration file. For example: fieldsep
- =| will cause the default `:' character to be treated as part of a field
- value and `|' becomes the field separator. Doing this may be useful in
- conjuction with a system that wants to use pam_access with X based
- applications, since the PAM_TTY item is likely to be of the form
- "hostname:0" which includes a `:' character in its value. But you should
- not need this.
-
-listsep=separators
-
- This option modifies the list separator character that pam_access will
- recognize when parsing the access configuration file. For example: listsep
- =, will cause the default ` ' (space) and `\t' (tab) characters to be
- treated as part of a list element value and `,' becomes the only list
- element separator. Doing this may be useful on a system with group
- information obtained from a Windows domain, where the default built-in
- groups "Domain Users", "Domain Admins" contain a space.
-
-nodefgroup
-
- The group database will not be used for tokens not identified as account
- name.
-
-EXAMPLES
-
-These are some example lines which might be specified in /etc/security/
-access.conf.
-
-User root should be allowed to get access via cron, X11 terminal :0, tty1, ...,
-tty5, tty6.
-
-+ : root : crond :0 tty1 tty2 tty3 tty4 tty5 tty6
-
-User root should be allowed to get access from hosts which own the IPv4
-addresses. This does not mean that the connection have to be a IPv4 one, a IPv6
-connection from a host with one of this IPv4 addresses does work, too.
-
-+ : root : 192.168.200.1 192.168.200.4 192.168.200.9
-
-+ : root : 127.0.0.1
-
-User root should get access from network 192.168.201. where the term will be
-evaluated by string matching. But it might be better to use network/netmask
-instead. The same meaning of 192.168.201. is 192.168.201.0/24 or 192.168.201.0/
-255.255.255.0.
-
-+ : root : 192.168.201.
-
-User root should be able to have access from hosts foo1.bar.org and
-foo2.bar.org (uses string matching also).
-
-+ : root : foo1.bar.org foo2.bar.org
-
-User root should be able to have access from domain foo.bar.org (uses string
-matching also).
-
-+ : root : .foo.bar.org
-
-User root should be denied to get access from all other sources.
-
-- : root : ALL
-
-User foo and members of netgroup admins should be allowed to get access from
-all sources. This will only work if netgroup service is available.
-
-+ : @admins foo : ALL
-
-User john and foo should get access from IPv6 host address.
-
-+ : john foo : 2001:4ca0:0:101::1
-
-User john should get access from IPv6 net/mask.
-
-+ : john : 2001:4ca0:0:101::/64
-
-Disallow console logins to all but the shutdown, sync and all other accounts,
-which are a member of the wheel group.
-
--:ALL EXCEPT (wheel) shutdown sync:LOCAL
-
-All other users should be denied to get access from all sources.
-
-- : ALL : ALL
-
diff --git a/modules/pam_access/access.conf.5 b/modules/pam_access/access.conf.5
deleted file mode 100644
index fcd33bb4..00000000
--- a/modules/pam_access/access.conf.5
+++ /dev/null
@@ -1,170 +0,0 @@
-.\" Title: access.conf
-.\" Author:
-.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
-.\" Date: 06/22/2007
-.\" Manual: Linux\-PAM Manual
-.\" Source: Linux\-PAM Manual
-.\"
-.TH "ACCESS.CONF" "5" "06/22/2007" "Linux\-PAM Manual" "Linux\-PAM Manual"
-.\" disable hyphenation
-.nh
-.\" disable justification (adjust text to left margin only)
-.ad l
-.SH "NAME"
-access.conf \- the login access control table file
-.SH "DESCRIPTION"
-.PP
-The
-\fI/etc/security/access.conf\fR
-file specifies (\fIuser/group\fR,
-\fIhost\fR), (\fIuser/group\fR,
-\fInetwork/netmask\fR) or (\fIuser/group\fR,
-\fItty\fR) combinations for which a login will be either accepted or refused.
-.PP
-When someone logs in, the file
-\fIaccess.conf\fR
-is scanned for the first entry that matches the (\fIuser/group\fR,
-\fIhost\fR) or (\fIuser/group\fR,
-\fInetwork/netmask\fR) combination, or, in case of non\-networked logins, the first entry that matches the (\fIuser/group\fR,
-\fItty\fR) combination. The permissions field of that table entry determines whether the login will be accepted or refused.
-.PP
-Each line of the login access control table has three fields separated by a ":" character (colon):
-.PP
-
-\fIpermission\fR:\fIusers/groups\fR:\fIorigins\fR
-.PP
-The first field, the
-\fIpermission\fR
-field, can be either a "\fI+\fR" character (plus) for access granted or a "\fI\-\fR" character (minus) for access denied.
-.PP
-The second field, the
-\fIusers\fR/\fIgroup\fR
-field, should be a list of one or more login names, group names, or
-\fIALL\fR
-(which always matches). To differentiate user entries from group entries, group entries should be written with brackets, e.g.
-\fI(group)\fR.
-.PP
-The third field, the
-\fIorigins\fR
-field, should be a list of one or more tty names (for non\-networked logins), host names, domain names (begin with "."), host addresses, internet network numbers (end with "."), internet network addresses with network mask (where network mask can be a decimal number or an internet address also),
-\fIALL\fR
-(which always matches) or
-\fILOCAL\fR
-(which matches any string that does not contain a "." character). If supported by the system you can use
-\fI@netgroupname\fR
-in host or user patterns.
-.PP
-The
-\fIEXCEPT\fR
-operator makes it possible to write very compact rules.
-.PP
-If the
-\fBnodefgroup\fR
-is not set, the group file is searched when a name does not match that of the logged\-in user. Only groups are matched in which users are explicitly listed. However the PAM module does not look at the primary group id of a user.
-.PP
-The "\fI#\fR" character at start of line (no space at front) can be used to mark this line as a comment line.
-.SH "EXAMPLES"
-.PP
-These are some example lines which might be specified in
-\fI/etc/security/access.conf\fR.
-.PP
-User
-\fIroot\fR
-should be allowed to get access via
-\fIcron\fR, X11 terminal
-\fI:0\fR,
-\fItty1\fR, ...,
-\fItty5\fR,
-\fItty6\fR.
-.PP
-+ : root : crond :0 tty1 tty2 tty3 tty4 tty5 tty6
-.PP
-User
-\fIroot\fR
-should be allowed to get access from hosts which own the IPv4 addresses. This does not mean that the connection have to be a IPv4 one, a IPv6 connection from a host with one of this IPv4 addresses does work, too.
-.PP
-+ : root : 192.168.200.1 192.168.200.4 192.168.200.9
-.PP
-+ : root : 127.0.0.1
-.PP
-User
-\fIroot\fR
-should get access from network
-192.168.201.
-where the term will be evaluated by string matching. But it might be better to use network/netmask instead. The same meaning of
-192.168.201.
-is
-\fI192.168.201.0/24\fR
-or
-\fI192.168.201.0/255.255.255.0\fR.
-.PP
-+ : root : 192.168.201.
-.PP
-User
-\fIroot\fR
-should be able to have access from hosts
-\fIfoo1.bar.org\fR
-and
-\fIfoo2.bar.org\fR
-(uses string matching also).
-.PP
-+ : root : foo1.bar.org foo2.bar.org
-.PP
-User
-\fIroot\fR
-should be able to have access from domain
-\fIfoo.bar.org\fR
-(uses string matching also).
-.PP
-+ : root : .foo.bar.org
-.PP
-User
-\fIroot\fR
-should be denied to get access from all other sources.
-.PP
-\- : root : ALL
-.PP
-User
-\fIfoo\fR
-and members of netgroup
-\fIadmins\fR
-should be allowed to get access from all sources. This will only work if netgroup service is available.
-.PP
-+ : @admins foo : ALL
-.PP
-User
-\fIjohn\fR
-and
-\fIfoo\fR
-should get access from IPv6 host address.
-.PP
-+ : john foo : 2001:4ca0:0:101::1
-.PP
-User
-\fIjohn\fR
-should get access from IPv6 net/mask.
-.PP
-+ : john : 2001:4ca0:0:101::/64
-.PP
-Disallow console logins to all but the shutdown, sync and all other accounts, which are a member of the wheel group.
-.PP
-\-:ALL EXCEPT (wheel) shutdown sync:LOCAL
-.PP
-All other users should be denied to get access from all sources.
-.PP
-\- : ALL : ALL
-.SH "SEE ALSO"
-.PP
-
-\fBpam_access\fR(8),
-\fBpam.d\fR(5),
-\fBpam\fR(8)
-.SH "AUTHORS"
-.PP
-Original
-\fBlogin.access\fR(5)
-manual was provided by Guido van Rooij which was renamed to
-\fBaccess.conf\fR(5)
-to reflect relation to default config file.
-.PP
-Network address / netmask description and example text was introduced by Mike Becher <mike.becher@lrz\-muenchen.de>.
diff --git a/modules/pam_access/pam_access.8 b/modules/pam_access/pam_access.8
deleted file mode 100644
index f151859c..00000000
--- a/modules/pam_access/pam_access.8
+++ /dev/null
@@ -1,112 +0,0 @@
-.\" Title: pam_access
-.\" Author:
-.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
-.\" Date: 11/30/2007
-.\" Manual: Linux-PAM Manual
-.\" Source: Linux-PAM Manual
-.\"
-.TH "PAM_ACCESS" "8" "11/30/2007" "Linux-PAM Manual" "Linux-PAM Manual"
-.\" disable hyphenation
-.nh
-.\" disable justification (adjust text to left margin only)
-.ad l
-.SH "NAME"
-pam_access - PAM module for logdaemon style login access control
-.SH "SYNOPSIS"
-.HP 14
-\fBpam_access\.so\fR [debug] [nodefgroup] [noaudit] [accessfile=\fIfile\fR] [fieldsep=\fIsep\fR] [listsep=\fIsep\fR]
-.SH "DESCRIPTION"
-.PP
-The pam_access PAM module is mainly for access management\. It provides logdaemon style login access control based on login names, host or domain names, internet addresses or network numbers, or on terminal line names in case of non\-networked logins\.
-.PP
-By default rules for access management are taken from config file
-\fI/etc/security/access\.conf\fR
-if you don\'t specify another file\.
-.PP
-If Linux PAM is compiled with audit support the module will report when it denies access based on origin (host or tty)\.
-.SH "OPTIONS"
-.PP
-\fBaccessfile=\fR\fB\fI/path/to/access\.conf\fR\fR
-.RS 4
-Indicate an alternative
-\fIaccess\.conf\fR
-style configuration file to override the default\. This can be useful when different services need different access lists\.
-.RE
-.PP
-\fBdebug\fR
-.RS 4
-A lot of debug informations are printed with
-\fBsyslog\fR(3)\.
-.RE
-.PP
-\fBnoaudit\fR
-.RS 4
-Do not report logins from disallowed hosts and ttys to the audit subsystem\.
-.RE
-.PP
-\fBfieldsep=\fR\fB\fIseparators\fR\fR
-.RS 4
-This option modifies the field separator character that pam_access will recognize when parsing the access configuration file\. For example:
-\fBfieldsep=|\fR
-will cause the default `:\' character to be treated as part of a field value and `|\' becomes the field separator\. Doing this may be useful in conjuction with a system that wants to use pam_access with X based applications, since the
-\fBPAM_TTY\fR
-item is likely to be of the form "hostname:0" which includes a `:\' character in its value\. But you should not need this\.
-.RE
-.PP
-\fBlistsep=\fR\fB\fIseparators\fR\fR
-.RS 4
-This option modifies the list separator character that pam_access will recognize when parsing the access configuration file\. For example:
-\fBlistsep=,\fR
-will cause the default ` \' (space) and `\et\' (tab) characters to be treated as part of a list element value and `,\' becomes the only list element separator\. Doing this may be useful on a system with group information obtained from a Windows domain, where the default built\-in groups "Domain Users", "Domain Admins" contain a space\.
-.RE
-.PP
-\fBnodefgroup\fR
-.RS 4
-The group database will not be used for tokens not identified as account name\.
-.RE
-.SH "MODULE SERVICES PROVIDED"
-.PP
-All services are supported\.
-.SH "RETURN VALUES"
-.PP
-PAM_SUCCESS
-.RS 4
-Access was granted\.
-.RE
-.PP
-PAM_PERM_DENIED
-.RS 4
-Access was not granted\.
-.RE
-.PP
-PAM_IGNORE
-.RS 4
-
-\fBpam_setcred\fR
-was called which does nothing\.
-.RE
-.PP
-PAM_ABORT
-.RS 4
-Not all relevant data or options could be gotten\.
-.RE
-.PP
-PAM_USER_UNKNOWN
-.RS 4
-The user is not known to the system\.
-.RE
-.SH "FILES"
-.PP
-\fI/etc/security/access\.conf\fR
-.RS 4
-Default configuration file
-.RE
-.SH "SEE ALSO"
-.PP
-
-\fBaccess.conf\fR(5),
-\fBpam.d\fR(8),
-\fBpam\fR(8)\.
-.SH "AUTHORS"
-.PP
-The logdaemon style login access control scheme was designed and implemented by Wietse Venema\. The pam_access PAM module was developed by Alexei Nogin <alexei@nogin\.dnttm\.ru>\. The IPv6 support and the network(address) / netmask feature was developed and provided by Mike Becher <mike\.becher@lrz\-muenchen\.de>\.