From 0204bf70b929a9c82a343afc98b7f14f24f050e2 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Mon, 5 Mar 2007 16:13:46 +0000 Subject: * Fix uncommenting of GSSAPI options by ssh-krb5 (closes: #407766). --- debian/ssh-krb5.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/ssh-krb5.postinst') diff --git a/debian/ssh-krb5.postinst b/debian/ssh-krb5.postinst index 89ef8d86e..4d943d861 100644 --- a/debian/ssh-krb5.postinst +++ b/debian/ssh-krb5.postinst @@ -42,7 +42,7 @@ EOF else changed=true if grep -qi '^#GSSAPI' /etc/ssh/sshd_config ; then - perl -pe 's/^\#(GSSAPI(Authentication|KeyExchange))\b/$1/i' \ + perl -pe 's/^\#(GSSAPI(Authentication|KeyExchange))\b.*/$1 yes/i' \ < /etc/ssh/sshd_config > /etc/ssh/sshd_config.dpkg-new chown --reference /etc/ssh/sshd_config \ /etc/ssh/sshd_config.dpkg-new -- cgit v1.2.3