summaryrefslogtreecommitdiff
path: root/net/freenx/files/patch-freenx-nxkeygen
diff options
context:
space:
mode:
Diffstat (limited to 'net/freenx/files/patch-freenx-nxkeygen')
-rw-r--r--net/freenx/files/patch-freenx-nxkeygen17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/freenx/files/patch-freenx-nxkeygen b/net/freenx/files/patch-freenx-nxkeygen
new file mode 100644
index 000000000000..deb8b2014c80
--- /dev/null
+++ b/net/freenx/files/patch-freenx-nxkeygen
@@ -0,0 +1,17 @@
+--- freenx-0.3.1/nxkeygen.orig Sun Feb 13 20:52:08 2005
++++ freenx-0.3.1/nxkeygen Mon Mar 28 15:26:50 2005
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/usr/local/bin/bash
+ #
+ # /usr/NX/bin/nxkeygen
+ # Create a new client/server key pair
+@@ -48,7 +48,7 @@
+
+ for x in ${NX_CLIENT_KEY} ${NX_SERVER_KEY} ; do
+ chmod 600 $x
+- chown nx:root $x
++ chown nx:nx $x
+ done
+
+ # copy the key to the authorized_keys2 file