[mythtv-users] Running as root
Michael T. Dean
mtdean at thirdcontact.com
Sun Oct 1 20:59:26 UTC 2006
On 10/01/06 10:38, Dave Sherohman wrote:
>On Sat, Sep 30, 2006 at 12:45:01PM -0400, Michael T. Dean wrote:
>
>
>>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."
>>
>>
>
>Was that link intended as a correction to my answer or a reference for
>R. G. to check out?
>
A reference to R.G. that also talks about other ways of enabling
real-time priority as different systems require different approaches
(depending on kernel version/SEL/whatever).
Mike
More information about the mythtv-users
mailing list