File openssh-7.6p1-enable_PAM_by_default.patch of Package openssh.18131

# HG changeset patch
# Parent  d47e806f23ad0649ef38b24e8cb9d5617e5d5d15
# force PAM in defaullt install (this was removed from upstream in 3.8p1)
# bnc#46749
# --used to be called '-pam-fix2'

Index: openssh-7.6p1/sshd_config
===================================================================
--- openssh-7.6p1.orig/sshd_config	2019-03-12 14:34:14.191467868 +0100
+++ openssh-7.6p1/sshd_config	2019-03-12 14:34:17.035483708 +0100
@@ -80,7 +80,7 @@ AuthorizedKeysFile	.ssh/authorized_keys
 # If you just want the PAM account and session checks to run without
 # PAM authentication, then enable this but set PasswordAuthentication
 # and ChallengeResponseAuthentication to 'no'.
-#UsePAM no
+UsePAM yes
 
 #AllowAgentForwarding yes
 #AllowTcpForwarding yes
openSUSE Build Service is sponsored by