Bug 1281768 - Man page is incorrect about GSSAPICleanupCredentials default value
Man page is incorrect about GSSAPICleanupCredentials default value
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: openssh (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Jakub Jelen
BaseOS QE Security Team
Depends On:
  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:
Last Closed: 2015-11-13 07:41:14 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
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):


How reproducible:


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
             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.