Hi all,
We have cpanel to host our clients sites, furthermore, we host some internal pages for statistics, for cpanel create acount delete subdomains, delete server folders etc. We implemented that with cron jobs because that sites has no access to exec aplications out of their account.
the implementation of this is something like that: i deside to delete a folder, from our internal site we choose it and with php we set in database that this folder will be delete. after another script with root privileges run from cron check the database see the changes and know that it must delete the folder.
How can give in a site root access level so it can delete a folder?
I know for security issues of that but we cover them and we need this for many functions.
Regards,
Savvanis Spyros
We have cpanel to host our clients sites, furthermore, we host some internal pages for statistics, for cpanel create acount delete subdomains, delete server folders etc. We implemented that with cron jobs because that sites has no access to exec aplications out of their account.
the implementation of this is something like that: i deside to delete a folder, from our internal site we choose it and with php we set in database that this folder will be delete. after another script with root privileges run from cron check the database see the changes and know that it must delete the folder.
How can give in a site root access level so it can delete a folder?
I know for security issues of that but we cover them and we need this for many functions.
Regards,
Savvanis Spyros