[mythtv-users] mythwelcome doesn't shut down

Anthony Messina amessina at messinet.com
Sat Jul 9 15:51:01 UTC 2011


On 07/09/2011 08:06 AM, Dave Brown wrote:
> What do you have in your /etc/sudoers file
> 
> sounds like you might need to setup sudo to allow it to run mythshutdown
> 
> %mythtv ALL = NOPASSWD: /sbin/shutdown, /bin/sh, /usr/bin/setwakeup.sh,
> /usr/bin/mythshutdown
> 
> replace mythtv with user you use to run mythshutdown
> 
> There is a guide on the wiki to setup mythwelcome and mythshutdown, Ive
> had to follow it again after an ugprade in the past.  It might be worth
> going through it again.

And for me on Fedora I needed to add the !requiretty:
# sudo
Defaults:mythtv !requiretty
mythtv          ALL=NOPASSWD:   /usr/bin/mythshutdown

-- 
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
Url : http://www.mythtv.org/pipermail/mythtv-users/attachments/20110709/99121d95/attachment.bin 


More information about the mythtv-users mailing list