aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_env/pam_env.conf.5.xml
diff options
context:
space:
mode:
authorStefan Schubert <schubi@suse.de>2021-12-03 14:33:20 +0100
committerThorsten Kukuk <5908016+thkukuk@users.noreply.github.com>2022-12-14 09:29:35 +0100
commit6135c45347b6173e305fda66eef138bde693b795 (patch)
treec67f2d947b9f9411268efb1f1ae1f611be0bb636 /modules/pam_env/pam_env.conf.5.xml
parentd71de05146d03c271bd5507724d24d1ad17c2be5 (diff)
downloadpam-6135c45347b6173e305fda66eef138bde693b795.tar.gz
pam-6135c45347b6173e305fda66eef138bde693b795.tar.bz2
pam-6135c45347b6173e305fda66eef138bde693b795.zip
pam_env: Use vendor specific pam_env.conf and environment as fallback
Use the vendor directory as fallback for a distribution provided default config if there is no one in /etc. * Makefile.am: Add libeconf setting. * pam_env.c: Take care about the fallback configuration in the vendor directory. * pam_env.8.xml: Add description for the vendor directory. * pam_env.conf.5.xml: Add description for the vendor directory. * tst-pam_env-retval.c: Add tests for libeconf. * configure.ac: Add ECONF settings for building man pages.
Diffstat (limited to 'modules/pam_env/pam_env.conf.5.xml')
-rw-r--r--modules/pam_env/pam_env.conf.5.xml20
1 files changed, 18 insertions, 2 deletions
diff --git a/modules/pam_env/pam_env.conf.5.xml b/modules/pam_env/pam_env.conf.5.xml
index fca046fe..5c0dbcb8 100644
--- a/modules/pam_env/pam_env.conf.5.xml
+++ b/modules/pam_env/pam_env.conf.5.xml
@@ -20,7 +20,15 @@
<refsect1 id='pam_env.conf-description'>
<title>DESCRIPTION</title>
- <para>
+ <para condition="with_vendordir">
+ The <filename>/usr/etc/security/pam_env.conf</filename> and
+ <filename>/etc/security/pam_env.conf</filename> files specify
+ the environment variables to be set, unset or modified by
+ <citerefentry><refentrytitle>pam_env</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
+ When someone logs in, these files are read and the environment
+ variables are set according.
+ </para>
+ <para condition="without_vendordir">
The <filename>/etc/security/pam_env.conf</filename> file specifies
the environment variables to be set, unset or modified by
<citerefentry><refentrytitle>pam_env</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
@@ -61,7 +69,15 @@
at front) can be used to mark this line as a comment line.
</para>
- <para>
+ <para condition="with_vendordir">
+ The <filename>/usr/etc/environment</filename> and <filename>/etc/environment</filename> files specify
+ the environment variables to be set. These files must consist of simple
+ <emphasis>NAME=VALUE</emphasis> pairs on separate lines.
+ The <citerefentry><refentrytitle>pam_env</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+ module will read these files after the <filename>pam_env.conf</filename>
+ file.
+ </para>
+ <para condition="without_vendordir">
The <filename>/etc/environment</filename> file specifies
the environment variables to be set. The file must consist of simple
<emphasis>NAME=VALUE</emphasis> pairs on separate lines.