Hallo,
ich habe ein Problem mit dem Shutdown in mythtv 0.22 unter openSUSE 11.2:
In sudoers steht für den Benutzer mythtv:
mythtv ALL = (root) NOPASSWD:/usr/bin/mythshutdown ,/sbin/halt ,/sbin/poweroff ,/sbin/reboot ,/sbin/shutdown
Zum Shutdown ruft das Programm mythwelcome "sudo /sbin/poweroff" auf.
Wenn mythtv den Shutdown durchführen will, findet sich im log folgendes:
2010-05-02 18:11:47.673 Running the command to shutdown this computer :-
/usr/bin/mythshutdown --shutdown
sudo: no tty present and no askpass program specifiedcified
In /var/log/messages steht:
May 2 18:11:48 arwen sudo: mythbackend : no tty present and no askpass program specified ; TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/poweroff
Meine Google-Suche hat auch nix konkretes ergeben.
Danke für die Hilfe und Grüße.
ich habe ein Problem mit dem Shutdown in mythtv 0.22 unter openSUSE 11.2:
In sudoers steht für den Benutzer mythtv:
mythtv ALL = (root) NOPASSWD:/usr/bin/mythshutdown ,/sbin/halt ,/sbin/poweroff ,/sbin/reboot ,/sbin/shutdown
Zum Shutdown ruft das Programm mythwelcome "sudo /sbin/poweroff" auf.
Wenn mythtv den Shutdown durchführen will, findet sich im log folgendes:
2010-05-02 18:11:47.673 Running the command to shutdown this computer :-
/usr/bin/mythshutdown --shutdown
sudo: no tty present and no askpass program specifiedcified
In /var/log/messages steht:
May 2 18:11:48 arwen sudo: mythbackend : no tty present and no askpass program specified ; TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/poweroff
Meine Google-Suche hat auch nix konkretes ergeben.
Danke für die Hilfe und Grüße.