Assigning a hub to a user with udev
Hi,
I have a bit of a strange question, but let me qualify it a little first... I'm not too familiar with udev configuration, but I think that this will work, somehow... I'm setting up a multiseat x installation. I have one computer and 4 KVMs. I've gotten it set up so each keyboard can log in to x seperately, so it's like having four virtual machines running on the one.
The problem here is this... This setup works fine if all you are doing is browsing the web and whatnot, so it's good for some situations. But I'd like to use this as an office setup. If I put a CD into the CD drive, everyone can see it. That behavior I'm ok with, but I'd like to be able to give each user their own USB hub that they could plug their own devices into, such as pen drives or usb hard drives, etc.
Is there a way to use udev to capture the particular usb hub and assign permissions only to whichever station it's assigned to? I know I can set permissions based on the BUS or ID of the device, but I don't really want to set it to a certain USER, per se, but the computer that the bus is at. I was thinking I could assign the users to groups relative to the computer they are on, but that's not a perfect solution, imho. Any suggestions on this one would be appreciated...
|