1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/net/freenx/files/patch-freenx-nxkeygen
2008-04-10 10:24:15 +00:00

18 lines
355 B
Plaintext

--- 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