aboutsummaryrefslogtreecommitdiff
path: root/doc/admin
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2019-09-16 14:36:32 -0400
committerGreg Hudson <ghudson@mit.edu>2019-09-19 16:11:42 -0400
commit2977b8e88002fc928a0ff3757098b34ca83645ef (patch)
tree2b1dd2ec2d9a55a0f010fad2101937538dbf88b3 /doc/admin
parent7ae4e8882458336fbe50d0e722ec9d5e3e338c63 (diff)
downloadkrb5-2977b8e88002fc928a0ff3757098b34ca83645ef.zip
krb5-2977b8e88002fc928a0ff3757098b34ca83645ef.tar.gz
krb5-2977b8e88002fc928a0ff3757098b34ca83645ef.tar.bz2
Add environment variable for GSS mech config
If the environment variable GSS_MECH_CONFIG is set (and the process is not privileged), read it instead of /etc/gss/mech or files within /etc/gss/mech.d. Set GSS_MECH_CONFIG in test frameworks so that system configuration does not interfere with tests. Fix documentation to indicate that the default mech config file is in sysconfdir, not necessarily /etc. ticket: 8833 (new)
Diffstat (limited to 'doc/admin')
-rw-r--r--doc/admin/host_config.rst10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/admin/host_config.rst b/doc/admin/host_config.rst
index 6df2504..e186dd4 100644
--- a/doc/admin/host_config.rst
+++ b/doc/admin/host_config.rst
@@ -199,10 +199,9 @@ GSSAPI mechanism modules
~~~~~~~~~~~~~~~~~~~~~~~~
GSSAPI mechanism modules are registered using the file
-``/etc/gss/mech`` or configuration files in the ``/etc/gss/mech.d/``
-directory. Only files with a ``.conf`` suffix will be read from the
-``/etc/gss/mech.d/`` directory. Each line in these files has the
-form::
+|sysconfdir|\ ``/gss/mech`` or configuration files in the
+|sysconfdir|\ ``/gss/mech.d`` directory with a ``.conf``
+suffix. Each line in these files has the form::
oid pathname [options] <type>
@@ -214,6 +213,9 @@ options provided to the plugin module, surrounded in square brackets.
Currently the only special module type is "interposer", for a module
designed to intercept calls to other mechanisms.
+If the environment variable **GSS_MECH_CONFIG** is set, its value is
+used as the sole mechanism configuration filename.
+
.. _profile_plugin_config: