freebsd-ports/net/freenx/files/patch-freenx-nxkeygen
2008-04-10 10:24:15 +00:00

17 lines
355 B
Text

--- nxkeygen.orig Mon Jan 22 19:22:49 2007
+++ nxkeygen
@@ -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