[mythtv-users] irexec, sudo and lircrc -- need help
gaberubin at gmail.com
Thu Jun 22 02:31:59 UTC 2006
I have looked online to see if I can figure this out and having
difficulty, I come to the list.
I am trying to have one of my remote control buttons issue the
gdm-restart command. I find that Jarod's script doesn't always work
for me, and gdm-restart always works when X gets thrashed.
I know I need to edit my sudoers file, and succesfully have done this
to allow mythtv user to issue the command, however it requires a
password, and I don't exactly know the syntax to not require a
password for this command. Then, when I associate this command in
lircrc, do I need to have sudo /usr/sbin/gdm-restart in quotes in the
lircrc file, or is there something else I need to do?
More information about the mythtv-users