[mythtv-users] Running as root

Chris Moewes-Bystrom chris.moewes at gmail.com
Fri Sep 29 04:34:54 UTC 2006


Another alternative is to add your mythtv user to the root group. That
should give them all the rights and provlidges as root right? Or
alternately you could give them the UID of root (0)   if I remember
correctly, you can have more than one user with the same UID.



On 9/28/06, Phill Edwards <philledwards at gmail.com> wrote:
> > 4.  Does setting the "sticky bit" (with a chmod +s) allow mythfrontend and
> > mythbackend to attain root privileges whenever they want?  And, if so, do
> > these program know when to do this?
>
> That means they run as root no matter which user invoked them. So when
> they run they will always be running as root. You shouldn't need to
> set the stick bit for mythbackend as it gets started from init as
> root.
>
> > 5.  Are there any differences in running programs while logged on as root as
> > opposed to logging on as mythtv and su'ing to root without the - parm?
>
> Not using "-" means thet the root login scripts don't run (I think).
> So root's normal environment variables, aliases etc won't be set. And
> it doesn't change dir to root's home, it stays in the current dir.
>
> Regards,
> Phill
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>


-- 
Christopher Moewes-Bystrom
www.moewes.com
chris.moewes at gmail.com


More information about the mythtv-users mailing list