[mythtv-users] SUID Root

Matthew Phillips mythtv at mattp.name
Sat Mar 26 03:48:51 UTC 2005


On 26/03/2005, at 12:44 PM, Mario L wrote:

> No i haven't, but wouldn't I have to do that each time I launched myth?

Yes, but it's not hard to do:

   sudo /usr/bin/renice -5 `ps -e | grep mythfrontend | cut -f1 -d" "`

You can put that in a script that runs the frontend.

You need to give the user you run myth as (or anyone in the "mythtv" 
group in my case) permission to renice to -5 as root. Using visudo to 
add this line does that:

   %mythtv         ALL=NOPASSWD: /usr/bin/renice -5 [0-9]*

Matthew.



More information about the mythtv-users mailing list