Bug 1281768 - Man page is incorrect about GSSAPICleanupCredentials default value
Man page is incorrect about GSSAPICleanupCredentials default value
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: openssh (Show other bugs)
7.1
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Jakub Jelen
BaseOS QE Security Team
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-13 07:10 EST by Jan Pazdziora
Modified: 2015-11-13 07:41 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-11-13 07:41:14 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jan Pazdziora 2015-11-13 07:10:59 EST
Description of problem:

man sshd_config says the default of GSSAPICleanupCredentials is yes when in fact it is no.

Version-Release number of selected component (if applicable):

openssh-server-6.6.1p1-12.el7_1.x86_64

How reproducible:

Deterministic.

Steps to Reproduce:
1. man sshd_config | grep -A4 GSSAPICleanupCredentials
2. sshd -T | grep -i GSSAPICleanupCredentials
3. grep -i GSSAPICleanupCredentials /etc/ssh/sshd_config

Actual results:

[root@3d64f4ecab6e /]# man sshd_config | grep -A4 GSSAPICleanupCredentials
     GSSAPICleanupCredentials
             Specifies whether to automatically destroy the user's credentials
             cache on logout.  The default is ``yes''.  Note that this option
             applies to protocol version 2 only.

[root@3d64f4ecab6e /]# sshd -T | grep -i GSSAPICleanupCredentials
Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Could not load host key: /etc/ssh/ssh_host_ed25519_key
gssapicleanupcredentials no

[root@3d64f4ecab6e /]# grep -i GSSAPICleanupCredentials /etc/ssh/sshd_config
GSSAPICleanupCredentials no

Expected results:

Either man page saying no, or the default in /etc/ssh/sshd_config being yes.

Additional info:
Comment 1 Petr Lautrbach 2015-11-13 07:41:14 EST
It's correct. The man page describes /usr/sbin/sshd defaults, not a value which is set in RHEL's /etc/ssh/sshd_config

# grep -i GSSAPICleanupCredentials /etc/ssh/sshd_config       
#GSSAPICleanupCredentials no

# /usr/sbin/sshd -T | grep gssapicleanupcredentials
gssapicleanupcredentials yes

Note You need to log in before you can comment on or make changes to this bug.