[mythtv] unprivileged user?

Rick Warner rick at sapphire.no-ip.com
Wed Aug 20 22:21:42 EDT 2003

On Tuesday 12 August 2003 01:23 pm, Ben Bucksch wrote:
> Alan Snyder wrote:
> >Doesn't the ability of the application to switch users
> >depend upon setuid root and isn't every additional setuid root program a
> >security risk?
> Not if you are already root, I don't think so :).
> How about just outputting a warning to stderr, if the user runs it as
> root, advising the user not to do so, instead of actually changing the
> user?
> Changing users would probably have strange effects on the reading of the
> config files as well, esp. if you apply it to mythfilldatabase as well
> (the XMLTV config files).
This patch will output a warning to stderr if running as root.  This seems 
like a good compromise to me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythbackend-warn-if-root.patch
Type: text/x-diff
Size: 570 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20030820/cc0aca3a/mythbackend-warn-if-root.bin

More information about the mythtv-dev mailing list