[node-patches] Change in ovirt-node[master]: Disable SSH X11 forwarding for node

rbarry at redhat.com rbarry at redhat.com
Mon Feb 17 18:15:30 UTC 2014


Ryan Barry has uploaded a new change for review.

Change subject: Disable SSH X11 forwarding for node
......................................................................

Disable SSH X11 forwarding for node

Even though X11 forwarding was probably useless anyway, disable it
just so it doesn't appear.

Change-Id: Iaaf7aece631c5dcd3d526a54f22b923048944499
Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=1057177
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M ovirt-node.spec.in
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/96/24596/1

diff --git a/ovirt-node.spec.in b/ovirt-node.spec.in
index ddc51ce..a8e178e 100644
--- a/ovirt-node.spec.in
+++ b/ovirt-node.spec.in
@@ -440,6 +440,9 @@
 EOF_multipath_conf2
 %endif
 
+#Disable X11Forwarding for sshd
+sed -i -e 's/X11Forwarding yes/X11Forwarding no/' /etc/ssh/sshd_config
+
 #release info for dracut to pick it up into initramfs
 # remove symlink to keep original redhat-release
 rm -f /etc/system-release


-- 
To view, visit http://gerrit.ovirt.org/24596
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaaf7aece631c5dcd3d526a54f22b923048944499
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>



More information about the node-patches mailing list