1fd9f280cc
PR: 113423 Obtained from: http://www.deweyonline.com/nx/freebsd.html
17 lines
355 B
Text
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
|