June, 2011 - All Posts

Mythbuntu asks for password to shutdown/reboot

Yazan: admin | 20 June 2011 | No Comments
Categories: MythTV

I am controlling mythtv through a remote and therefore dont want to resort to the keyboard to enter a password to shutdown or reboot the box.   To get around this simple edit /etc/sudoers and add the line: ALL ALL=NOPASSWD:/sbin/shutdown after: root ALL=ALL(ALL)