<br>
<br><tt><font size=2>chris@ccburton.com wrote on 27/08/2010 14:39:55:<br>
[SNIP]<br>
> <br>
> Obviously it would be better to check if the user was in a <br>
> FreeNX group and then permit instead . . . . <br>
> <br>
> eg <br>
> <br>
> id -Gn|grep -q -w "your-freenx-permitted-users-group-name"
|| exit 1 <br>
</font></tt>
<br>
<br><tt><font size=2>or even</font></tt>
<br>
<br><tt><font size=2>id -Gn "$USER" |grep -q -w "your-freenx-permitted-users-group-name"
|| exit 1 </font></tt>
<br>
<br>
<br><tt><font size=2>(nxacl is run as "nx" by nxserver before
re-logging in locally via ssh</font></tt>
<br><tt><font size=2> as the user $USER . . .)</font></tt>
<br>
<br>