I need to provide all users access to a series of Perl scripts in some kind of shared location but I cannot find a way to work around suexec. I found a couple of mentions on the forum but they are all OLD and didn't seem to resolve anything to anyone's satisfaction. Here's one from 3 years ago:
http://forums.cpanel.net/showthread....ed+perl+script
I'm running Release on CentOS 4.5 and 5 with a fairly "cPanel stock" Apache 1.3.3.6 with mod_auth_mysql added. I'm willing to give the configuration in the above post a shot, but I'm wondering if it is still valid in CP11? There doesn't seem to be anyone but root in the wheel group these days, probably for good reason. Do I need to create a whole new user for this?
I'd also like to know if aliasing a directory to another directory negates the ability to run scripts in the original one, like mounting another file system over an existing directory full of files. (I want to have the option of overriding the shared copy with a local copy on one or two accounts so I can do prototyping and to accommodate special mods) Since these are all working store systems, I want to make sure that creating the alias isn't going to kill all the current local copies.
These scripts currently have individual copies in each user's "cgi" folder (not cgi-bin) and I want to run them all from /home/cgi so I can update them all at once instead of doing each one individually. (there are hundreds of users) I love suexec because I can see exactly which account my Perl scripts are running on but it sure makes this shared thing a pain![]()



LinkBack URL
About LinkBacks
Reply With Quote




