How can I make it possible for another user to run one specific program on my desktop? I don't want to simply remove the X security completely, I'd rather do it by some sort of SUID'ish sort of approach.
The first thing I have tried doesn't work though. I changed the ownership of the program in question to be owned by me and set the SUID bit:-
-rwsr-xr-x 1 chris root 2497525 2007-02-14 18:54 /usr/local/bin/xvile
I thought that if anyone else executes the program they would 'become' chris but it doesn't work. However thinking about it now I suspect that I'd need to add some code to the program to actually change the user as well as setting the permissions as above.
So, is there any other way to get what I want? I just want another user (it's just one user in particular if that makes it easier) to be able to run /usr/local/bin/xvile on my X desktop. It's a home system with me as the only real user so there aren't any serious security implications, there aren't any unfriendly users.