machine shutdown command not using sudo

Hi guys…

One problem we have is that the machine shutdown command doesnt work. It seem’s to need to be used with sudo on linux boxes.

2014-07-01 16:00:08: ::ffff:192.168.3.106 has connected
2014-07-01 16:00:08: Launcher Thread - Received command: RestartMachine
2014-07-01 16:00:08: No Slave to shutdown
2014-07-01 16:00:08: No Monitor to shutdown
2014-07-01 16:00:08: No Pulse to shutdown
2014-07-01 16:00:08: Shutdown failed: shutdown: Need to be root
2014-07-01 16:00:08: Launcher Thread - Responded with: Success|

any way to go around this?
2014-07-01 16:00:08: Shutdown failed: shutdown: Need to be root

deadline version: 6.2-0.32 on CentOs 6.4

thanks

sly

Hello,

The solution to this issue, which we need to get fixed in the scripts we run, is to set the suid on the shutdown app in sbin. This article: linux.byexamples.com/archives/31 … -password/ has information on how to do that, and should make this work right for you.

Awesome thanks !!!
it’s working!!

:slight_smile:

sly