[FreeNX-kNX] Is it possible to prevent a specific user logging into freeNX - using ENABLE_SSH_AUTHENTICATION="1"

chris at ccburton.com chris at ccburton.com
Fri Aug 27 14:21:49 UTC 2010


chris at ccburton.com wrote on 27/08/2010 14:39:55:
[SNIP]
> 
> Obviously it would be better to check if the user was in a 
> FreeNX group and then permit instead . . . . 
> 
> eg 
> 
> id -Gn|grep -q -w "your-freenx-permitted-users-group-name" || exit 1 


or even

id -Gn "$USER" |grep -q -w "your-freenx-permitted-users-group-name" || 
exit 1 


(nxacl is run as "nx" by nxserver before re-logging in locally via ssh
 as the user $USER . . .)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20100827/d1d60c3f/attachment.html>


More information about the FreeNX-kNX mailing list