Upon further reflection (OK, I just didn't think clearly enough
before), I think that it's fairly easy to do the same thing that the
libnjb folks appear to do for FedoraCore.  `who | awk '$2 == ":0" {
print $1 }'` will give the name of the user currently logged in to
local X server 0, which is roughly the same as checking the file that
gets checked on FedoraCore. If the /proc file associated with the USB
devices is assigned to this user, then permissions are suitably tight,
I think. This is probably better than using group permissions like I
did before.

--Brandon


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to