[mythtv-users] Best way to suspend mythfrontend

Jay Summet jay at summet.com
Thu Feb 12 16:52:24 UTC 2009



> 
> The script works if I run as root.  How do I give access to my mythv
> user to run it as root.  I tried su -c, but it gives a permission
> error.
> 


sudo -H /path/to/your-shutdown-script.

[Note that your mythtv user will need permissions to run your shutdown
script command with sudo without a password, something you can set up in
the /etc/sudoers file using the NOPASSWD directive. ]


Jay

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20090212/bc820f31/attachment.pgp>


More information about the mythtv-users mailing list