[mythtv-users] Running as root

Michael T. Dean mtdean at thirdcontact.com
Sat Sep 30 16:45:01 UTC 2006


On 09/30/06 11:48, Dave Sherohman wrote:

>On Fri, Sep 29, 2006 at 01:37:57PM -0400, R. G. Newbury wrote:
>  
>
>>And exactly how does one set the SUID bit on a file? Would this be chmod 
>>+s mythfrontend or chmod 7777 mythfrontend?
>>
>>As usual the man page, while perfectly correct is perfectly opaque.
>>    
>>
>
>chmod u+s mythfrontend
>
>chmod 7777 would set not only suid, but also sgid and the sticky bit.
>And you probably don't want to be making mythfrontend world-writable if
>it's anywhere near a network, either, especially if it's suid root.
>chmod 4755 or 4750 (if the mythtv user is a member of the group that
>owns it) would be reasonably sane, though.  (4755 = rwsr-xr-x; 4750 =
>rwsr-x---)
>

http://mythtv.org/docs/mythtv-HOWTO-5.html#ss5.4 under "Enabling 
real-time scheduling of the display thread."

Mike


More information about the mythtv-users mailing list