[mythtv-users] Running as root

Jason fearthepenguin at jasonandjessi.com
Thu Sep 28 19:13:01 UTC 2006

mgetty allows you to autologin as whoever you want.

my inittab has the following line

1:2345:/sbin/mgetty --autologin myth tty1   (it used to be root, but I
changed to myth. Rest assured root works just fine)

and then my /etc/passwd has a shell script called startmyth for the myth
users shell. The net impact is that the box boots, logs itself in,
starts X, starts mythfrontend and if mythfrontend should crash, init
re-logs in the myth user and starts it back up. Works very good.  Holler
if you want more details.

The place where you made your stand never mattered,
only that you were there... and still on your feet

R. G. Newbury wrote:
> Robin Hill wrote:
>> On Wed Sep 27, 2006 at 03:02:28PM -0500, Chris Moewes-Bystrom wrote:
>>> I have my mythbox set up with gdm auto logging in my mythtv user, who then
>>> has a startup script to launch the front end. I was going through the config
>>> screens last night and I saw a setting that mentions something about if the
>>> frontend is running as root and allowing it run at higher privildge (I
>>> assume nice or something). Anyone know why, beyond the obvious security
>>> issues, that running the frontend (on a dedicated system) as root would be a
>>> good or a bad idea??
> Unless someone on this list can provide a workaround, you will find that 
>   you cannot auto login as root... for no discernible reason that I can 
> find, except possibly the obstinate religious fervor of the 
> 'never-run-as-root' crowd.
>               R. Geoffrey Newbury			
>         Helping with the HTTP issue
> <a href="http://www.w3.org/Protocols/">HTTP</a>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

More information about the mythtv-users mailing list