I have a shell script which is called by a cpanel plugin, using cpanel 11.
I've put the script in /scripts. On the first server, this worked great. However, on the next server this fails. Testing on the command line. It seems the cpanel user, even with normal shell access cannot execute the script (even if the user owns the file and is 777).
Sounds odd? Am I being thwarted by a security setting here?
I don't want to give the user shell *at all*. I just want the script to run when the user runs it via cpanel. Where should I place the scripts, or what setting should I change?
I've put the script in /scripts. On the first server, this worked great. However, on the next server this fails. Testing on the command line. It seems the cpanel user, even with normal shell access cannot execute the script (even if the user owns the file and is 777).
Sounds odd? Am I being thwarted by a security setting here?
I don't want to give the user shell *at all*. I just want the script to run when the user runs it via cpanel. Where should I place the scripts, or what setting should I change?