[mythtv-users] sudo nice --5 xine Permissions?

Joe Ripley vitaminjoe at gmail.com
Mon Aug 20 19:45:47 UTC 2007


On 8/20/07, Jon Boehm <boehm100 at comcast.net> wrote:
> So I want to try increasing its run time priority.  I have a script,
> dvd.sh, that  kicks off xine in the DVD Player field of Myth.  The OS is
> punting because of the "sudo nice --5."  How do I tell the OS that
> anyone can run dvd.sh and they don't need to be root to do this.

Try setting the setuid bit on the script.
(http://en.wikipedia.org/wiki/Setuid).

chown root.root dvd.sh
chmod 4755 dvd.sh

-- 
Joe Ripley
vitaminjoe at gmail.com


More information about the mythtv-users mailing list