summaryrefslogtreecommitdiff
path: root/modules/pam_env
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_env
parent1f802e15b36f0ca69dc4127a9332983acfd70117 (diff)
Relevant BUGIDs:
Purpose of commit: cleanup Commit summary: --------------- Remove autogenerated documentation from CVS
Diffstat (limited to 'modules/pam_env')
-rw-r--r--modules/pam_env/.cvsignore3
-rw-r--r--modules/pam_env/README74
-rw-r--r--modules/pam_env/pam_env.889
-rw-r--r--modules/pam_env/pam_env.conf.587
4 files changed, 3 insertions, 250 deletions
diff --git a/modules/pam_env/.cvsignore b/modules/pam_env/.cvsignore
index 9fb98574..e35f869e 100644
--- a/modules/pam_env/.cvsignore
+++ b/modules/pam_env/.cvsignore
@@ -4,3 +4,6 @@
.libs
Makefile
Makefile.in
+README
+pam_env.8
+pam_env.conf.5
diff --git a/modules/pam_env/README b/modules/pam_env/README
deleted file mode 100644
index 81c63154..00000000
--- a/modules/pam_env/README
+++ /dev/null
@@ -1,74 +0,0 @@
-pam_env — PAM module to set/unset environment variables
-
-━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
-
-DESCRIPTION
-
-The pam_env PAM module allows the (un)setting of environment variables.
-Supported is the use of previously set environment variables as well as
-PAM_ITEMs such as PAM_RHOST.
-
-By default rules for (un)setting of variables is taken from the config file /
-etc/security/pam_env.conf if no other file is specified.
-
-This module can also parse a file with simple KEY=VAL pairs on seperate lines
-(/etc/environment by default). You can change the default file to parse, with
-the envfile flag and turn it on or off by setting the readenv flag to 1 or 0
-respectively.
-
-OPTIONS
-
-conffile=/path/to/pam_env.conf
-
- Indicate an alternative pam_env.conf style configuration file to override
- the default. This can be useful when different services need different
- environments.
-
-debug
-
- A lot of debug informations are printed with syslog(3).
-
-envfile=/path/to/environment
-
- Indicate an alternative environment file to override the default. This can
- be useful when different services need different environments.
-
-readenv=0|1
-
- Turns on or off the reading of the file specified by envfile (0 is off, 1
- is on). By default this option is on.
-
-EXAMPLES
-
-These are some example lines which might be specified in /etc/security/
-pam_env.conf.
-
-Set the REMOTEHOST variable for any hosts that are remote, default to
-"localhost" rather than not being set at all
-
- REMOTEHOST DEFAULT=localhost OVERRIDE=@{PAM_RHOST}
-
-
-Set the DISPLAY variable if it seems reasonable
-
- DISPLAY DEFAULT=${REMOTEHOST}:0.0 OVERRIDE=${DISPLAY}
-
-
-Now some simple variables
-
- PAGER DEFAULT=less
- MANPAGER DEFAULT=less
- LESS DEFAULT="M q e h15 z23 b80"
- NNTPSERVER DEFAULT=localhost
- PATH DEFAULT=${HOME}/bin:/usr/local/bin:/bin\
- :/usr/bin:/usr/local/bin/X11:/usr/bin/X11
-
-
-Silly examples of escaped variables, just to show how they work.
-
- DOLLAR DEFAULT=\$
- DOLLARDOLLAR DEFAULT= OVERRIDE=\$${DOLLAR}
- DOLLARPLUS DEFAULT=\${REMOTEHOST}${REMOTEHOST}
- ATSIGN DEFAULT="" OVERRIDE=\@
-
-
diff --git a/modules/pam_env/pam_env.8 b/modules/pam_env/pam_env.8
deleted file mode 100644
index e7746de3..00000000
--- a/modules/pam_env/pam_env.8
+++ /dev/null
@@ -1,89 +0,0 @@
-.\" Title: pam_env
-.\" 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 "PAM_ENV" "8" "06/21/2006" "Linux\-PAM Manual" "Linux\-PAM Manual"
-.\" disable hyphenation
-.nh
-.\" disable justification (adjust text to left margin only)
-.ad l
-.SH "NAME"
-pam_env \- PAM module to set/unset environment variables
-.SH "SYNOPSIS"
-.HP 11
-\fBpam_env.so\fR [debug] [conffile=\fIconf\-file\fR] [envfile=\fIenv\-file\fR] [readenv=\fI0|1\fR]
-.SH "DESCRIPTION"
-.PP
-The pam_env PAM module allows the (un)setting of environment variables. Supported is the use of previously set environment variables as well as
-\fIPAM_ITEM\fRs such as
-\fIPAM_RHOST\fR.
-.PP
-By default rules for (un)setting of variables is taken from the config file
-\fI/etc/security/pam_env.conf\fR
-if no other file is specified.
-.PP
-This module can also parse a file with simple
-\fIKEY=VAL\fR
-pairs on seperate lines (\fI/etc/environment\fR
-by default). You can change the default file to parse, with the
-\fIenvfile\fR
-flag and turn it on or off by setting the
-\fIreadenv\fR
-flag to 1 or 0 respectively.
-.SH "OPTIONS"
-.TP 3n
-\fBconffile=\fR\fB\fI/path/to/pam_env.conf\fR\fR
-Indicate an alternative
-\fIpam_env.conf\fR
-style configuration file to override the default. This can be useful when different services need different environments.
-.TP 3n
-\fBdebug\fR
-A lot of debug informations are printed with
-\fBsyslog\fR(3).
-.TP 3n
-\fBenvfile=\fR\fB\fI/path/to/environment\fR\fR
-Indicate an alternative
-\fIenvironment\fR
-file to override the default. This can be useful when different services need different environments.
-.TP 3n
-\fBreadenv=\fR\fB\fI0|1\fR\fR
-Turns on or off the reading of the file specified by envfile (0 is off, 1 is on). By default this option is on.
-.SH "MODULE SERVICES PROVIDED"
-.PP
-The
-\fBauth\fR
-and
-\fBsession\fR
-services are supported.
-.SH "RETURN VALUES"
-.TP 3n
-PAM_ABORT
-Not all relevant data or options could be gotten.
-.TP 3n
-PAM_BUF_ERR
-Memory buffer error.
-.TP 3n
-PAM_IGNORE
-No pam_env.conf and environment file was found.
-.TP 3n
-PAM_SUCCESS
-Environment variables were set.
-.SH "FILES"
-.TP 3n
-\fI/etc/security/pam_env.conf\fR
-Default configuration file
-.TP 3n
-\fI/etc/environment\fR
-Default environment file
-.SH "SEE ALSO"
-.PP
-
-\fBpam_env.conf\fR(5),
-\fBpam.d\fR(8),
-\fBpam\fR(8).
-.SH "AUTHOR"
-.PP
-pam_env was written by Dave Kinchlea <kinch@kinch.ark.com>.
diff --git a/modules/pam_env/pam_env.conf.5 b/modules/pam_env/pam_env.conf.5
deleted file mode 100644
index 17c1a19d..00000000
--- a/modules/pam_env/pam_env.conf.5
+++ /dev/null
@@ -1,87 +0,0 @@
-.\" Title: pam_env.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 "PAM_ENV.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"
-pam_env.conf \- the environment variables config file
-.SH "DESCRIPTION"
-.PP
-The
-\fI/etc/security/pam_env.conf\fR
-file specifies the environment variables to be set, unset or modified by
-\fBpam_env\fR(8). When someone logs in, this file is read and the environment variables are set according.
-.PP
-Each line starts with the variable name, there are then two possible options for each variable DEFAULT and OVERRIDE. DEFAULT allows and administrator to set the value of the variable to some default value, if none is supplied then the empty string is assumed. The OVERRIDE option tells pam_env that it should enter in its value (overriding the default value) if there is one to use. OVERRIDE is not used, "" is assumed and no override will be done.
-.PP
-
-\fIVARIABLE\fR
-[\fIDEFAULT=[value]\fR] [\fIOVERRIDE=[value]\fR]
-.PP
-(Possibly non\-existent) environment variables may be used in values using the ${string} syntax and (possibly non\-existent) PAM_ITEMs may be used in values using the @{string} syntax. Both the $ and @ characters can be backslash escaped to be used as literal values values can be delimited with "", escaped " not supported. Note that many environment variables that you would like to use may not be set by the time the module is called. For example, HOME is used below several times, but many PAM applications don't make it available by the time you need it.
-.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/pam_env.conf\fR.
-.PP
-Set the REMOTEHOST variable for any hosts that are remote, default to "localhost" rather than not being set at all
-.sp
-.RS 3n
-.nf
- REMOTEHOST DEFAULT=localhost OVERRIDE=@{PAM_RHOST}
-
-.fi
-.RE
-.PP
-Set the DISPLAY variable if it seems reasonable
-.sp
-.RS 3n
-.nf
- DISPLAY DEFAULT=${REMOTEHOST}:0.0 OVERRIDE=${DISPLAY}
-
-.fi
-.RE
-.PP
-Now some simple variables
-.sp
-.RS 3n
-.nf
- PAGER DEFAULT=less
- MANPAGER DEFAULT=less
- LESS DEFAULT="M q e h15 z23 b80"
- NNTPSERVER DEFAULT=localhost
- PATH DEFAULT=${HOME}/bin:/usr/local/bin:/bin\\
- :/usr/bin:/usr/local/bin/X11:/usr/bin/X11
-
-.fi
-.RE
-.PP
-Silly examples of escaped variables, just to show how they work.
-.sp
-.RS 3n
-.nf
- DOLLAR DEFAULT=\\$
- DOLLARDOLLAR DEFAULT= OVERRIDE=\\$${DOLLAR}
- DOLLARPLUS DEFAULT=\\${REMOTEHOST}${REMOTEHOST}
- ATSIGN DEFAULT="" OVERRIDE=\\@
-
-.fi
-.RE
-.SH "SEE ALSO"
-.PP
-
-\fBpam_env\fR(8),
-\fBpam.d\fR(5),
-\fBpam\fR(8)
-.SH "AUTHOR"
-.PP
-pam_env was written by Dave Kinchlea <kinch@kinch.ark.com>.