[FreeNX-kNX] nxnode --setkey

Doug Burks mubley at gmail.com
Fri Sep 17 19:06:16 UTC 2004


Hi Fabian,

I'd like to first congratulate you on all of the great work you've
done so far on FreeNX.  Thank you!

I'm installing FreeNX on Tao Linux and have a question.

The --setkey function in nxnode does the following:
mkdir -p $HOME/.ssh

If a user has used some form of ssh in the past, then this directory
was already created and with the proper permissions (700).  But if the
user has never used ssh in the past, then nxnode creates this
directory, but with default permissions of 775.  This results in an
error  being logged to /var/log/secure:
sshd[6231]: Authentication refused: bad ownership or modes for
directory /home/user1/.ssh
and, of course, the NX session fails.

Should the above line be changed to:
mkdir -m 700 -p $HOME/.ssh
to set the proper permissions?

Thanks,
Doug



More information about the FreeNX-kNX mailing list