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)
Please log in to answer
Posted by:
jknox
11 years ago
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