d738b9
From 7bcff005db31c62b37ea5c364cd65526cfaecbf1 Mon Sep 17 00:00:00 2001
d738b9
From: Robbie Harwood <rharwood@redhat.com>
d738b9
Date: Mon, 15 Oct 2018 15:19:12 -0400
d738b9
Subject: [PATCH] Update man pages to reference kerberos(7)
d738b9
d738b9
Remove broken references to old kerberos(1).  Reference kerberos(7)
d738b9
from all man pages, and create/update their environment section so
d738b9
that it references kerberos(7).
d738b9
d738b9
ticket: 8755
d738b9
(cherry picked from commit 52cbe198d0d6f0085d4653b2f6a1ecc84d139118)
d738b9
[rharwood@redhat.com: git got weird about fuzz]
d738b9
---
d738b9
 doc/admin/admin_commands/k5srvutil.rst      |  9 ++++++++-
d738b9
 doc/admin/admin_commands/kadmin_local.rst   |  9 ++++++++-
d738b9
 doc/admin/admin_commands/kadmind.rst        |  9 ++++++++-
d738b9
 doc/admin/admin_commands/kdb5_ldap_util.rst |  9 ++++++++-
d738b9
 doc/admin/admin_commands/kdb5_util.rst      |  9 ++++++++-
d738b9
 doc/admin/admin_commands/kprop.rst          |  8 ++++----
d738b9
 doc/admin/admin_commands/kpropd.rst         | 10 +++++++++-
d738b9
 doc/admin/admin_commands/kproplog.rst       |  7 +++----
d738b9
 doc/admin/admin_commands/krb5kdc.rst        |  8 +++-----
d738b9
 doc/admin/admin_commands/ktutil.rst         |  9 ++++++++-
d738b9
 doc/admin/admin_commands/sserver.rst        |  9 ++++++++-
d738b9
 doc/user/user_commands/kdestroy.rst         | 13 +++----------
d738b9
 doc/user/user_commands/kinit.rst            | 14 +++-----------
d738b9
 doc/user/user_commands/klist.rst            | 13 +++----------
d738b9
 doc/user/user_commands/kpasswd.rst          |  9 ++++++++-
d738b9
 doc/user/user_commands/krb5-config.rst      |  2 +-
d738b9
 doc/user/user_commands/ksu.rst              | 13 +++++++++++++
d738b9
 doc/user/user_commands/kswitch.rst          | 14 ++++----------
d738b9
 doc/user/user_commands/kvno.rst             |  9 +++------
d738b9
 doc/user/user_commands/sclient.rst          |  8 +++++++-
d738b9
 20 files changed, 120 insertions(+), 71 deletions(-)
d738b9
d738b9
diff --git a/doc/admin/admin_commands/k5srvutil.rst b/doc/admin/admin_commands/k5srvutil.rst
d738b9
index b873d9077..79502cf9e 100644
d738b9
--- a/doc/admin/admin_commands/k5srvutil.rst
d738b9
+++ b/doc/admin/admin_commands/k5srvutil.rst
d738b9
@@ -56,7 +56,14 @@ k5srvutil uses the :ref:`kadmin(1)` program to edit the keytab in
d738b9
 place.
d738b9
 
d738b9
 
d738b9
+ENVIRONMENT
d738b9
+-----------
d738b9
+
d738b9
+See :ref:`kerberos(7)` for a description of Kerberos environment
d738b9
+variables.
d738b9
+
d738b9
+
d738b9
 SEE ALSO
d738b9
 --------
d738b9
 
d738b9
-:ref:`kadmin(1)`, :ref:`ktutil(1)`
d738b9
+:ref:`kadmin(1)`, :ref:`ktutil(1)`, :ref:`kerberos(7)`
d738b9
diff --git a/doc/admin/admin_commands/kadmin_local.rst b/doc/admin/admin_commands/kadmin_local.rst
d738b9
index 50c3b99ea..0e955faf2 100644
d738b9
--- a/doc/admin/admin_commands/kadmin_local.rst
d738b9
+++ b/doc/admin/admin_commands/kadmin_local.rst
d738b9
@@ -989,7 +989,14 @@ The kadmin program was originally written by Tom Yu at MIT, as an
d738b9
 interface to the OpenVision Kerberos administration program.
d738b9
 
d738b9
 
d738b9
+ENVIRONMENT
d738b9
+-----------
d738b9
+
d738b9
+See :ref:`kerberos(7)` for a description of Kerberos environment
d738b9
+variables.
d738b9
+
d738b9
+
d738b9
 SEE ALSO
d738b9
 --------
d738b9
 
d738b9
-:ref:`kpasswd(1)`, :ref:`kadmind(8)`
d738b9
+:ref:`kpasswd(1)`, :ref:`kadmind(8)`, :ref:`kerberos(7)`
d738b9
diff --git a/doc/admin/admin_commands/kadmind.rst b/doc/admin/admin_commands/kadmind.rst
d738b9
index f5b7733ea..8bfb48a32 100644
d738b9
--- a/doc/admin/admin_commands/kadmind.rst
d738b9
+++ b/doc/admin/admin_commands/kadmind.rst
d738b9
@@ -116,8 +116,15 @@ OPTIONS
d738b9
     <dboptions>` in :ref:`kadmin(1)` for supported arguments.
d738b9
 
d738b9
 
d738b9
+ENVIRONMENT
d738b9
+-----------
d738b9
+
d738b9
+See :ref:`kerberos(7)` for a description of Kerberos environment
d738b9
+variables.
d738b9
+
d738b9
+
d738b9
 SEE ALSO
d738b9
 --------
d738b9
 
d738b9
 :ref:`kpasswd(1)`, :ref:`kadmin(1)`, :ref:`kdb5_util(8)`,
d738b9
-:ref:`kdb5_ldap_util(8)`, :ref:`kadm5.acl(5)`
d738b9
+:ref:`kdb5_ldap_util(8)`, :ref:`kadm5.acl(5)`, :ref:`kerberos(7)`
d738b9
diff --git a/doc/admin/admin_commands/kdb5_ldap_util.rst b/doc/admin/admin_commands/kdb5_ldap_util.rst
d738b9
index cbf313f55..343df4dd9 100644
d738b9
--- a/doc/admin/admin_commands/kdb5_ldap_util.rst
d738b9
+++ b/doc/admin/admin_commands/kdb5_ldap_util.rst
d738b9
@@ -456,7 +456,14 @@ Example::
d738b9
 .. _kdb5_ldap_util_list_policy_end:
d738b9
 
d738b9
 
d738b9
+ENVIRONMENT
d738b9
+-----------
d738b9
+
d738b9
+See :ref:`kerberos(7)` for a description of Kerberos environment
d738b9
+variables.
d738b9
+
d738b9
+
d738b9
 SEE ALSO
d738b9
 --------
d738b9
 
d738b9
-:ref:`kadmin(1)`
d738b9
+:ref:`kadmin(1)`, :ref:`kerberos(7)`
d738b9
diff --git a/doc/admin/admin_commands/kdb5_util.rst b/doc/admin/admin_commands/kdb5_util.rst
d738b9
index 258498f0d..18a3fb627 100644
d738b9
--- a/doc/admin/admin_commands/kdb5_util.rst
d738b9
+++ b/doc/admin/admin_commands/kdb5_util.rst
d738b9
@@ -491,7 +491,14 @@ Examples::
d738b9
     bar@EXAMPLE.COM	1	1	des-cbc-crc	normal	-1
d738b9
 
d738b9
 
d738b9
+ENVIRONMENT
d738b9
+-----------
d738b9
+
d738b9
+See :ref:`kerberos(7)` for a description of Kerberos environment
d738b9
+variables.
d738b9
+
d738b9
+
d738b9
 SEE ALSO
d738b9
 --------
d738b9
 
d738b9
-:ref:`kadmin(1)`
d738b9
+:ref:`kadmin(1)`, :ref:`kerberos(7)`
d738b9
diff --git a/doc/admin/admin_commands/kprop.rst b/doc/admin/admin_commands/kprop.rst
d738b9
index 726c8cc2f..0bc353239 100644
d738b9
--- a/doc/admin/admin_commands/kprop.rst
d738b9
+++ b/doc/admin/admin_commands/kprop.rst
d738b9
@@ -49,12 +49,12 @@ OPTIONS
d738b9
 ENVIRONMENT
d738b9
 -----------
d738b9
 
d738b9
-*kprop* uses the following environment variable:
d738b9
-
d738b9
-* **KRB5_CONFIG**
d738b9
+See :ref:`kerberos(7)` for a description of Kerberos environment
d738b9
+variables.
d738b9
 
d738b9
 
d738b9
 SEE ALSO
d738b9
 --------
d738b9
 
d738b9
-:ref:`kpropd(8)`, :ref:`kdb5_util(8)`, :ref:`krb5kdc(8)`
d738b9
+:ref:`kpropd(8)`, :ref:`kdb5_util(8)`, :ref:`krb5kdc(8)`,
d738b9
+:ref:`kerberos(7)`
d738b9
diff --git a/doc/admin/admin_commands/kpropd.rst b/doc/admin/admin_commands/kpropd.rst
d738b9
index 5e01e2f14..36ad3344c 100644
d738b9
--- a/doc/admin/admin_commands/kpropd.rst
d738b9
+++ b/doc/admin/admin_commands/kpropd.rst
d738b9
@@ -124,7 +124,15 @@ kpropd.acl
d738b9
     will allow Kerberos database propagation via :ref:`kprop(8)`.
d738b9
 
d738b9
 
d738b9
+ENVIRONMENT
d738b9
+-----------
d738b9
+
d738b9
+See :ref:`kerberos(7)` for a description of Kerberos environment
d738b9
+variables.
d738b9
+
d738b9
+
d738b9
 SEE ALSO
d738b9
 --------
d738b9
 
d738b9
-:ref:`kprop(8)`, :ref:`kdb5_util(8)`, :ref:`krb5kdc(8)`, inetd(8)
d738b9
+:ref:`kprop(8)`, :ref:`kdb5_util(8)`, :ref:`krb5kdc(8)`,
d738b9
+:ref:`kerberos(7)`, inetd(8)
d738b9
diff --git a/doc/admin/admin_commands/kproplog.rst b/doc/admin/admin_commands/kproplog.rst
d738b9
index ed906398d..b98e1b29b 100644
d738b9
--- a/doc/admin/admin_commands/kproplog.rst
d738b9
+++ b/doc/admin/admin_commands/kproplog.rst
d738b9
@@ -74,12 +74,11 @@ OPTIONS
d738b9
 ENVIRONMENT
d738b9
 -----------
d738b9
 
d738b9
-kproplog uses the following environment variables:
d738b9
-
d738b9
-* **KRB5_KDC_PROFILE**
d738b9
+See :ref:`kerberos(7)` for a description of Kerberos environment
d738b9
+variables.
d738b9
 
d738b9
 
d738b9
 SEE ALSO
d738b9
 --------
d738b9
 
d738b9
-:ref:`kpropd(8)`
d738b9
+:ref:`kpropd(8)`, :ref:`kerberos(7)`
d738b9
diff --git a/doc/admin/admin_commands/krb5kdc.rst b/doc/admin/admin_commands/krb5kdc.rst
d738b9
index 7ec4ee4d3..4bf9e0150 100644
d738b9
--- a/doc/admin/admin_commands/krb5kdc.rst
d738b9
+++ b/doc/admin/admin_commands/krb5kdc.rst
d738b9
@@ -110,14 +110,12 @@ description for further details.
d738b9
 ENVIRONMENT
d738b9
 -----------
d738b9
 
d738b9
-krb5kdc uses the following environment variables:
d738b9
-
d738b9
-* **KRB5_CONFIG**
d738b9
-* **KRB5_KDC_PROFILE**
d738b9
+See :ref:`kerberos(7)` for a description of Kerberos environment
d738b9
+variables.
d738b9
 
d738b9
 
d738b9
 SEE ALSO
d738b9
 --------
d738b9
 
d738b9
 :ref:`kdb5_util(8)`, :ref:`kdc.conf(5)`, :ref:`krb5.conf(5)`,
d738b9
-:ref:`kdb5_ldap_util(8)`
d738b9
+:ref:`kdb5_ldap_util(8)`, :ref:`kerberos(7)`
d738b9
diff --git a/doc/admin/admin_commands/ktutil.rst b/doc/admin/admin_commands/ktutil.rst
d738b9
index d55ddc894..5a6fc31a8 100644
d738b9
--- a/doc/admin/admin_commands/ktutil.rst
d738b9
+++ b/doc/admin/admin_commands/ktutil.rst
d738b9
@@ -127,7 +127,14 @@ EXAMPLE
d738b9
     ktutil:
d738b9
 
d738b9
 
d738b9
+ENVIRONMENT
d738b9
+-----------
d738b9
+
d738b9
+See :ref:`kerberos(7)` for a description of Kerberos environment
d738b9
+variables.
d738b9
+
d738b9
+
d738b9
 SEE ALSO
d738b9
 --------
d738b9
 
d738b9
-:ref:`kadmin(1)`, :ref:`kdb5_util(8)`
d738b9
+:ref:`kadmin(1)`, :ref:`kdb5_util(8)`, :ref:`kerberos(7)`
d738b9
diff --git a/doc/admin/admin_commands/sserver.rst b/doc/admin/admin_commands/sserver.rst
d738b9
index b4e464466..a8dcf5d5b 100644
d738b9
--- a/doc/admin/admin_commands/sserver.rst
d738b9
+++ b/doc/admin/admin_commands/sserver.rst
d738b9
@@ -99,7 +99,14 @@ COMMON ERROR MESSAGES
d738b9
    probably not installed in the proper directory.
d738b9
 
d738b9
 
d738b9
+ENVIRONMENT
d738b9
+-----------
d738b9
+
d738b9
+See :ref:`kerberos(7)` for a description of Kerberos environment
d738b9
+variables.
d738b9
+
d738b9
+
d738b9
 SEE ALSO
d738b9
 --------
d738b9
 
d738b9
-:ref:`sclient(1)`, services(5), inetd(8)
d738b9
+:ref:`sclient(1)`, :ref:`kerberos(7)`, services(5), inetd(8)
d738b9
diff --git a/doc/user/user_commands/kdestroy.rst b/doc/user/user_commands/kdestroy.rst
d738b9
index b8c67aba4..c69d65667 100644
d738b9
--- a/doc/user/user_commands/kdestroy.rst
d738b9
+++ b/doc/user/user_commands/kdestroy.rst
d738b9
@@ -53,15 +53,8 @@ when you log out.
d738b9
 ENVIRONMENT
d738b9
 -----------
d738b9
 
d738b9
-kdestroy uses the following environment variable:
d738b9
-
d738b9
-**KRB5CCNAME**
d738b9
-    Location of the default Kerberos 5 credentials (ticket) cache, in
d738b9
-    the form *type*:*residual*.  If no *type* prefix is present, the
d738b9
-    **FILE** type is assumed.  The type of the default cache may
d738b9
-    determine the availability of a cache collection; for instance, a
d738b9
-    default cache of type **DIR** causes caches within the directory
d738b9
-    to be present in the collection.
d738b9
+See :ref:`kerberos(7)` for a description of Kerberos environment
d738b9
+variables.
d738b9
 
d738b9
 
d738b9
 FILES
d738b9
@@ -74,4 +67,4 @@ FILES
d738b9
 SEE ALSO
d738b9
 --------
d738b9
 
d738b9
-:ref:`kinit(1)`, :ref:`klist(1)`
d738b9
+:ref:`kinit(1)`, :ref:`klist(1)`, :ref:`kerberos(7)`
d738b9
diff --git a/doc/user/user_commands/kinit.rst b/doc/user/user_commands/kinit.rst
d738b9
index 3f9d5340f..33e6aa64f 100644
d738b9
--- a/doc/user/user_commands/kinit.rst
d738b9
+++ b/doc/user/user_commands/kinit.rst
d738b9
@@ -197,19 +197,11 @@ OPTIONS
d738b9
         specify use of RSA, rather than the default Diffie-Hellman
d738b9
         protocol
d738b9
 
d738b9
-
d738b9
 ENVIRONMENT
d738b9
 -----------
d738b9
 
d738b9
-kinit uses the following environment variables:
d738b9
-
d738b9
-**KRB5CCNAME**
d738b9
-    Location of the default Kerberos 5 credentials cache, in the form
d738b9
-    *type*:*residual*.  If no *type* prefix is present, the **FILE**
d738b9
-    type is assumed.  The type of the default cache may determine the
d738b9
-    availability of a cache collection; for instance, a default cache
d738b9
-    of type **DIR** causes caches within the directory to be present
d738b9
-    in the collection.
d738b9
+See :ref:`kerberos(7)` for a description of Kerberos environment
d738b9
+variables.
d738b9
 
d738b9
 
d738b9
 FILES
d738b9
@@ -225,4 +217,4 @@ FILES
d738b9
 SEE ALSO
d738b9
 --------
d738b9
 
d738b9
-:ref:`klist(1)`, :ref:`kdestroy(1)`, kerberos(1)
d738b9
+:ref:`klist(1)`, :ref:`kdestroy(1)`, :ref:`kerberos(7)`
d738b9
diff --git a/doc/user/user_commands/klist.rst b/doc/user/user_commands/klist.rst
d738b9
index c24c74132..88e457846 100644
d738b9
--- a/doc/user/user_commands/klist.rst
d738b9
+++ b/doc/user/user_commands/klist.rst
d738b9
@@ -105,15 +105,8 @@ value is used to locate the default ticket cache.
d738b9
 ENVIRONMENT
d738b9
 -----------
d738b9
 
d738b9
-klist uses the following environment variable:
d738b9
-
d738b9
-**KRB5CCNAME**
d738b9
-    Location of the default Kerberos 5 credentials (ticket) cache, in
d738b9
-    the form *type*:*residual*.  If no *type* prefix is present, the
d738b9
-    **FILE** type is assumed.  The type of the default cache may
d738b9
-    determine the availability of a cache collection; for instance, a
d738b9
-    default cache of type **DIR** causes caches within the directory
d738b9
-    to be present in the collection.
d738b9
+See :ref:`kerberos(7)` for a description of Kerberos environment
d738b9
+variables.
d738b9
 
d738b9
 
d738b9
 FILES
d738b9
@@ -129,4 +122,4 @@ FILES
d738b9
 SEE ALSO
d738b9
 --------
d738b9
 
d738b9
-:ref:`kinit(1)`, :ref:`kdestroy(1)`
d738b9
+:ref:`kinit(1)`, :ref:`kdestroy(1)`, :ref:`kerberos(7)`
d738b9
diff --git a/doc/user/user_commands/kpasswd.rst b/doc/user/user_commands/kpasswd.rst
d738b9
index 1b6463265..0583bbd05 100644
d738b9
--- a/doc/user/user_commands/kpasswd.rst
d738b9
+++ b/doc/user/user_commands/kpasswd.rst
d738b9
@@ -33,7 +33,14 @@ OPTIONS
d738b9
     identity of the user invoking the kpasswd command.
d738b9
 
d738b9
 
d738b9
+ENVIRONMENT
d738b9
+-----------
d738b9
+
d738b9
+See :ref:`kerberos(7)` for a description of Kerberos environment
d738b9
+variables.
d738b9
+
d738b9
+
d738b9
 SEE ALSO
d738b9
 --------
d738b9
 
d738b9
-:ref:`kadmin(1)`, :ref:`kadmind(8)`
d738b9
+:ref:`kadmin(1)`, :ref:`kadmind(8)`, :ref:`kerberos(7)`
d738b9
diff --git a/doc/user/user_commands/krb5-config.rst b/doc/user/user_commands/krb5-config.rst
d738b9
index ee0fceaa3..2c09141a1 100644
d738b9
--- a/doc/user/user_commands/krb5-config.rst
d738b9
+++ b/doc/user/user_commands/krb5-config.rst
d738b9
@@ -80,4 +80,4 @@ the following output::
d738b9
 SEE ALSO
d738b9
 --------
d738b9
 
d738b9
-kerberos(1), cc(1)
d738b9
+:ref:`kerberos(7)`, cc(1)
d738b9
diff --git a/doc/user/user_commands/ksu.rst b/doc/user/user_commands/ksu.rst
d738b9
index b2f9121f0..29487a838 100644
d738b9
--- a/doc/user/user_commands/ksu.rst
d738b9
+++ b/doc/user/user_commands/ksu.rst
d738b9
@@ -385,3 +385,16 @@ AUTHOR OF KSU
d738b9
 -------------
d738b9
 
d738b9
 GENNADY (ARI) MEDVINSKY
d738b9
+
d738b9
+
d738b9
+ENVIRONMENT
d738b9
+-----------
d738b9
+
d738b9
+See :ref:`kerberos(7)` for a description of Kerberos environment
d738b9
+variables.
d738b9
+
d738b9
+
d738b9
+SEE ALSO
d738b9
+--------
d738b9
+
d738b9
+:ref:`kerberos(7)`, :ref:`kinit(1)`
d738b9
diff --git a/doc/user/user_commands/kswitch.rst b/doc/user/user_commands/kswitch.rst
d738b9
index 56e5915ac..010332e6a 100644
d738b9
--- a/doc/user/user_commands/kswitch.rst
d738b9
+++ b/doc/user/user_commands/kswitch.rst
d738b9
@@ -32,15 +32,8 @@ OPTIONS
d738b9
 ENVIRONMENT
d738b9
 -----------
d738b9
 
d738b9
-kswitch uses the following environment variables:
d738b9
-
d738b9
-**KRB5CCNAME**
d738b9
-    Location of the default Kerberos 5 credentials (ticket) cache, in
d738b9
-    the form *type*:*residual*.  If no *type* prefix is present, the
d738b9
-    **FILE** type is assumed.  The type of the default cache may
d738b9
-    determine the availability of a cache collection; for instance, a
d738b9
-    default cache of type **DIR** causes caches within the directory
d738b9
-    to be present in the collection.
d738b9
+See :ref:`kerberos(7)` for a description of Kerberos environment
d738b9
+variables.
d738b9
 
d738b9
 
d738b9
 FILES
d738b9
@@ -53,4 +46,5 @@ FILES
d738b9
 SEE ALSO
d738b9
 --------
d738b9
 
d738b9
-:ref:`kinit(1)`, :ref:`kdestroy(1)`, :ref:`klist(1)`), kerberos(1)
d738b9
+:ref:`kinit(1)`, :ref:`kdestroy(1)`, :ref:`klist(1)`,
d738b9
+:ref:`kerberos(7)`
d738b9
diff --git a/doc/user/user_commands/kvno.rst b/doc/user/user_commands/kvno.rst
d738b9
index 31ca24460..f269fb3f9 100644
d738b9
--- a/doc/user/user_commands/kvno.rst
d738b9
+++ b/doc/user/user_commands/kvno.rst
d738b9
@@ -63,14 +63,11 @@ OPTIONS
d738b9
     delegation is not requested, the service name must match the
d738b9
     credentials cache client principal.
d738b9
 
d738b9
-
d738b9
 ENVIRONMENT
d738b9
 -----------
d738b9
 
d738b9
-kvno uses the following environment variable:
d738b9
-
d738b9
-**KRB5CCNAME**
d738b9
-    Location of the credentials (ticket) cache.
d738b9
+See :ref:`kerberos(7)` for a description of Kerberos environment
d738b9
+variables.
d738b9
 
d738b9
 
d738b9
 FILES
d738b9
@@ -83,4 +80,4 @@ FILES
d738b9
 SEE ALSO
d738b9
 --------
d738b9
 
d738b9
-:ref:`kinit(1)`, :ref:`kdestroy(1)`
d738b9
+:ref:`kinit(1)`, :ref:`kdestroy(1)`, :ref:`kerberos(7)`
d738b9
diff --git a/doc/user/user_commands/sclient.rst b/doc/user/user_commands/sclient.rst
d738b9
index ebf797253..1e3d38f82 100644
d738b9
--- a/doc/user/user_commands/sclient.rst
d738b9
+++ b/doc/user/user_commands/sclient.rst
d738b9
@@ -17,8 +17,14 @@ purposes.  It contacts a sample server :ref:`sserver(8)` and
d738b9
 authenticates to it using Kerberos version 5 tickets, then displays
d738b9
 the server's response.
d738b9
 
d738b9
+ENVIRONMENT
d738b9
+-----------
d738b9
+
d738b9
+See :ref:`kerberos(7)` for a description of Kerberos environment
d738b9
+variables.
d738b9
+
d738b9
 
d738b9
 SEE ALSO
d738b9
 --------
d738b9
 
d738b9
-:ref:`kinit(1)`, :ref:`sserver(8)`
d738b9
+:ref:`kinit(1)`, :ref:`sserver(8)`, :ref:`kerberos(7)`