
May 17th, 2012, 10:40 AM
|
|
Registered User
|
|
Join Date: May 2012
Posts: 1
Time spent in forums: 4 m 32 sec
Reputation Power: 0
|
|
|
Run a bash script using CFEXECUTE as a specific user
Is there a way for me to run a script with CFEXECUTE as a specific user? If I change the ColdFusion runtime user to the user required to run the bash script, it works, but I don't want my entire site to run as this user, only the page that will run the bash script. By default, 'nobody' is the user.
I've tried creating a starter script to issue the "su -c" command, but it does nothing. I've changed the permissions and added a sticky bit (+s), but CF will not run it as that user.
Is there anything else I can do?
|