summaryrefslogtreecommitdiff
path: root/modules/pam_time
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_time
parent1f802e15b36f0ca69dc4127a9332983acfd70117 (diff)
Relevant BUGIDs:
Purpose of commit: cleanup Commit summary: --------------- Remove autogenerated documentation from CVS
Diffstat (limited to 'modules/pam_time')
-rw-r--r--modules/pam_time/.cvsignore3
-rw-r--r--modules/pam_time/README36
-rw-r--r--modules/pam_time/pam_time.895
-rw-r--r--modules/pam_time/time.conf.592
4 files changed, 3 insertions, 223 deletions
diff --git a/modules/pam_time/.cvsignore b/modules/pam_time/.cvsignore
index 9fb98574..cac9cca3 100644
--- a/modules/pam_time/.cvsignore
+++ b/modules/pam_time/.cvsignore
@@ -4,3 +4,6 @@
.libs
Makefile
Makefile.in
+README
+pam_time.8
+time.conf.5
diff --git a/modules/pam_time/README b/modules/pam_time/README
deleted file mode 100644
index 05eaec2c..00000000
--- a/modules/pam_time/README
+++ /dev/null
@@ -1,36 +0,0 @@
-pam_time — PAM module for time control access
-
-━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
-
-DESCRIPTION
-
-The pam_time PAM module does not authenticate the user, but instead it
-restricts access to a system and or specific applications at various times of
-the day and on specific days or over various terminal lines. This module can be
-configured to deny access to (individual) users based on their name, the time
-of day, the day of week, the service they are applying for and their terminal
-from which they are making their request.
-
-By default rules for time/port access are taken from config file /etc/security/
-time.conf.
-
-If Linux PAM is compiled with audit support the module will report when it
-denies access.
-
-EXAMPLES
-
-These are some example lines which might be specified in /etc/security/
-time.conf.
-
-All users except for root are denied access to console-login at all times:
-
-login ; tty* & !ttyp* ; !root ; !Al0000-2400
-
-
-Games (configured to use PAM) are only to be accessed out of working hours.
-This rule does not apply to the user waster:
-
-
-games ; * ; !waster ; Wd0000-2400 | Wk1800-0800
-
-
diff --git a/modules/pam_time/pam_time.8 b/modules/pam_time/pam_time.8
deleted file mode 100644
index 21fb83d5..00000000
--- a/modules/pam_time/pam_time.8
+++ /dev/null
@@ -1,95 +0,0 @@
-.\" Title: pam_time
-.\" Author:
-.\" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/>
-.\" Date: 01/07/2008
-.\" Manual: Linux-PAM Manual
-.\" Source: Linux-PAM Manual
-.\"
-.TH "PAM_TIME" "8" "01/07/2008" "Linux-PAM Manual" "Linux-PAM Manual"
-.\" disable hyphenation
-.nh
-.\" disable justification (adjust text to left margin only)
-.ad l
-.SH "NAME"
-pam_time - PAM module for time control access
-.SH "SYNOPSIS"
-.HP 12
-\fBpam_time\.so\fR [debug] [noaudit]
-.SH "DESCRIPTION"
-.PP
-The pam_time PAM module does not authenticate the user, but instead it restricts access to a system and or specific applications at various times of the day and on specific days or over various terminal lines\. This module can be configured to deny access to (individual) users based on their name, the time of day, the day of week, the service they are applying for and their terminal from which they are making their request\.
-.PP
-By default rules for time/port access are taken from config file
-\fI/etc/security/time\.conf\fR\.
-.PP
-If Linux PAM is compiled with audit support the module will report when it denies access\.
-.SH "OPTIONS"
-.PP
-\fBdebug\fR
-.RS 4
-Some debug informations are printed with
-\fBsyslog\fR(3)\.
-.RE
-.PP
-\fBnoaudit\fR
-.RS 4
-Do not report logins at disallowed time to the audit subsystem\.
-.RE
-.SH "MODULE SERVICES PROVIDED"
-.PP
-Only the
-\fBaccount\fR
-service is supported\.
-.SH "RETURN VALUES"
-.PP
-PAM_SUCCESS
-.RS 4
-Access was granted\.
-.RE
-.PP
-PAM_ABORT
-.RS 4
-Not all relevant data could be gotten\.
-.RE
-.PP
-PAM_BUF_ERR
-.RS 4
-Memory buffer error\.
-.RE
-.PP
-PAM_PERM_DENIED
-.RS 4
-Access was not granted\.
-.RE
-.PP
-PAM_USER_UNKNOWN
-.RS 4
-The user is not known to the system\.
-.RE
-.SH "FILES"
-.PP
-\fI/etc/security/time\.conf\fR
-.RS 4
-Default configuration file
-.RE
-.SH "EXAMPLES"
-.sp
-.RS 4
-.nf
-#%PAM\-1\.0
-#
-# apply pam_time accounting to login requests
-#
-login account required pam_time\.so
-
-.fi
-.RE
-.SH "SEE ALSO"
-.PP
-
-\fBtime.conf\fR(5),
-\fBpam.d\fR(8),
-\fBpam\fR(8)\.
-.SH "AUTHOR"
-.PP
-pam_time was written by Andrew G\. Morgan <morgan@kernel\.org>\.
diff --git a/modules/pam_time/time.conf.5 b/modules/pam_time/time.conf.5
deleted file mode 100644
index 400344a6..00000000
--- a/modules/pam_time/time.conf.5
+++ /dev/null
@@ -1,92 +0,0 @@
-.\" Title: time.conf
-.\" Author:
-.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/>
-.\" Date: 06/21/2006
-.\" Manual: Linux\-PAM Manual
-.\" Source: Linux\-PAM Manual
-.\"
-.TH "TIME.CONF" "5" "06/21/2006" "Linux\-PAM Manual" "Linux\-PAM Manual"
-.\" disable hyphenation
-.nh
-.\" disable justification (adjust text to left margin only)
-.ad l
-.SH "NAME"
-time.conf \- configuration file for the pam_time module
-.SH "DESCRIPTION"
-.PP
-The pam_time PAM module does not authenticate the user, but instead it restricts access to a system and or specific applications at various times of the day and on specific days or over various terminal lines. This module can be configured to deny access to (individual) users based on their name, the time of day, the day of week, the service they are applying for and their terminal from which they are making their request.
-.PP
-For this module to function correctly there must be a correctly formatted
-\fI/etc/security/time.conf\fR
-file present. White spaces are ignored and lines maybe extended with '\\' (escaped newlines). Text following a '#' is ignored to the end of the line.
-.PP
-The syntax of the lines is as follows:
-.PP
-
-\fIservices\fR;\fIttys\fR;\fIusers\fR;\fItimes\fR
-.PP
-In words, each rule occupies a line, terminated with a newline or the beginning of a comment; a '\fB#\fR'. It contains four fields separated with semicolons, '\fB;\fR'.
-.PP
-The first field, the
-\fIservices\fR
-field, is a logic list of PAM service names that the rule applies to.
-.PP
-The second field, the
-\fItty\fR
-field, is a logic list of terminal names that this rule applies to.
-.PP
-The third field, the
-\fIusers\fR
-field, is a logic list of users or a netgroup of users to whom this rule applies.
-.PP
-For these items the simple wildcard '*' may be used only once. With netgroups no wildcards or logic operators are allowed.
-.PP
-The
-\fItimes\fR
-field is used to indicate the times at which this rule applies. The format here is a logic list of day/time\-range entries. The days are specified by a sequence of two character entries, MoTuSa for example is Monday Tuesday and Saturday. Note that repeated days are unset MoMo = no day, and MoWk = all weekdays bar Monday. The two character combinations accepted are Mo Tu We Th Fr Sa Su Wk Wd Al, the last two being week\-end days and all 7 days of the week respectively. As a final example, AlFr means all days except Friday.
-.PP
-Each day/time\-range can be prefixed with a '!' to indicate "anything but". The time\-range part is two 24\-hour times HHMM, separated by a hyphen, indicating the start and finish time (if the finish time is smaller than the start time it is deemed to apply on the following day).
-.PP
-For a rule to be active, ALL of service+ttys+users must be satisfied by the applying process.
-.PP
-Note, currently there is no daemon enforcing the end of a session. This needs to be remedied.
-.PP
-Poorly formatted rules are logged as errors using
-\fBsyslog\fR(3).
-.SH "EXAMPLES"
-.PP
-These are some example lines which might be specified in
-\fI/etc/security/time.conf\fR.
-.PP
-All users except for
-\fIroot\fR
-are denied access to console\-login at all times:
-.sp
-.RS 3n
-.nf
-login ; tty* & !ttyp* ; !root ; !Al0000\-2400
-
-.fi
-.RE
-.sp
-.PP
-Games (configured to use PAM) are only to be accessed out of working hours. This rule does not apply to the user
-\fIwaster\fR:
-.sp
-.RS 3n
-.nf
-
-games ; * ; !waster ; Wd0000\-2400 | Wk1800\-0800
-
-.fi
-.RE
-.sp
-.SH "SEE ALSO"
-.PP
-
-\fBpam_time\fR(8),
-\fBpam.d\fR(5),
-\fBpam\fR(8)
-.SH "AUTHOR"
-.PP
-pam_time was written by Andrew G. Morgan <morgan@kernel.org>.