/build/static/layout/Breadcrumb_cap_w.png

Initiating a script from KACE to Ubuntu

When trying to run a script on an Ubuntu server I get the following error "not allowed to execute logged off".  I tested after logging on via ssh to the remote machine and the script runs no problem.  

I have the script set to run as a defined user, is there anyway to no have to manually log to initiate a script?


0 Comments   [ + ] Show comments

Answers (1)

Posted by: jknox 11 years ago
Red Belt
1

I am pretty certain the run as function does not work in a Linux or Mac script.  In Linux, scripts run as root, so you would have to change your command to specify a user.

You may be able to use sudo to specify a user if the user is in the sudoers file:  http://manpages.ubuntu.com/manpages/intrepid/man8/sudo.8.html

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ