Re: suid, www-data user, and gui program amarok, not working together.

2010-02-03 Thread Thomas Anderson
>> Why can't the binary execute "amarok -t" when it is confirmed that it >> is indeed running as user "tommy"? > > X doesn't authenticate connections based on uid.  (For one thing, connections > need not be from the local machine.  But uid is not used even on the same > machine.)  Read the manpage

Re: suid, www-data user, and gui program amarok, not working together.

2010-02-02 Thread Boyd Stephen Smith Jr.
On Tuesday 02 February 2010 17:14:31 Thomas Anderson wrote: > Why can't the binary execute "amarok -t" when it is confirmed that it > is indeed running as user "tommy"? X doesn't authenticate connections based on uid. (For one thing, connections need not be from the local machine. But uid is no

suid, www-data user, and gui program amarok, not working together.

2010-02-02 Thread Thomas Anderson
I'm trying to make a web page that has buttons to control my running music player application "Amarok" (Amarok is a Debian package). I can control it from the command line by issuing this command: $ amarok -t That command toggles the music on and off. I run Apache2 on Debian Lenny and the comman