[mythtv-users] Fwd: Re: Funky prefix to shutdown command (-#012#011#011#011#011#011#011)

schlimbo at gmx.de schlimbo at gmx.de
Wed Dec 19 21:22:10 UTC 2012


Thanks for trying this out. See my other email. Your previous email had already guided me to a solution.

Thanks!

-------- Original-Nachricht --------
> Datum: Wed, 19 Dec 2012 15:15:09 -0600
> Von: Bill Meek <keemllib at gmail.com>
> An: mythtv-users at mythtv.org
> Betreff: Re: [mythtv-users] Fwd: Re: Funky prefix to shutdown command	(-#012#011#011#011#011#011#011)

> On 12/19/2012 01:28 PM, schlimbo at gmx.de wrote:
> ...
>  > myth at mythserver:~$ mythshutdown --safeshutdown -v
> ...
> 
> Let me try again.
> 
> To see the command that shuts down the system it's:
> 
>    mythshutdown --safeshutdown -v system --loglevel debug
> 
> Which will probably say /sbin/poweroff, and the result (my result)
> was:
> 
>    ...Managed child (PID: 5774) has exited! command=/sbin/poweroff,
> status=256, result=1
> 
> because non-root users can't run the command. If it were sudo
> /sbin/poweroff,
> then an entry in /etc/sudoers.d/mythtv could allow it.
> 
> So try: sudo mythshutdown --safeshutdown, it worked for me on the
> command line. You probably need a sudoers entry for it to work
> without a terminal (e.g. the backend.)
> 
> -- 
> Bill
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users



More information about the mythtv-users mailing list