[mythtv-users] Running as root

Dave Sherohman esper at sherohman.org
Sat Sep 30 15:48:48 UTC 2006

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 =

The freedoms that we enjoy presently are the most important victories of the
White Hats over the past several millennia, and it is vitally important that
we don't give them up now, only because we are frightened.
  - Eolake Stobblehouse (http://stobblehouse.com/text/battle.html)

More information about the mythtv-users mailing list