I would like to be able to access various devices (and the programs that use them) remotely when I am not able to log in to the console. For example, if I want to use vlc to stream video from my tv card then I need access to /dev/video1.
I'm just not sure what is the best way to do this. Of course, I could each time use brute force to give myself ownership of the device but that's ugly and it requires root access each time. Also, it needs to be done manually each time since permissions are reset when someone logs in to the console or at reboot.
I'm sure I could also play with the udev scripts to give myself more permanent permission but that too is pretty brute force.
In the past, I wrote a script to put my user name in /var/run/console/console.lock and then ran /sbin/pam_console_apply but that is still a bit of a brute force kluge.
So, I was wondering whether there is a better way, perhaps using the hal acl functionality. I would be interested in how to both give myself fine-grain access to individual devices and also how to give myself blanket console-like access to the devices (as if I were logged in at the console).
I am running FC8.