• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Any fix for cron jobs yet with chrootsh?

HostaHost

Regular Pleskian
Is there any hope of seeing a fix for the broken crontab issue in Plesk 10? Right now, if a user is set to chrootsh, they cannot run cron jobs because their crontab is set to have the useless SHELL=/usr/local/psa/bin/chrootsh.

The docs at http://download1.parallels.com/Plesk/PP10/10.2.0/Doc/en-US/pdf/plesk-10-administrator-guide.pdf on page 166 describe a way to set a shell just for cron:

/usr/local/psa/admin/bin/server_pref -u -crontab-secure-shell ―/bin/sh‖

That path is wrong and should be /usr/local/psa/bin/server_pref, but even once corrected, the setting has no effect on the crontab if the user is set to chrootsh. It only changes the crontab if the user is set to Forbidden for the shell. I need to let users run jobs and give them chrootsh for access; any way to get around that yet?
 
Re

Bump on this topic. I saw a lot of topics about this issue and I confirm it.

Debian 6 Plesk 10.4.4 MU32 x64, no way to launch crontab (like wget curl) even if I enable /bin/sh in domain's configuration.

Thanks per advance.
 
Is there any hope of seeing a fix for the broken crontab issue in Plesk 10? Right now, if a user is set to chrootsh, they cannot run cron jobs because their crontab is set to have the useless SHELL=/usr/local/psa/bin/chrootsh.

The docs at http://download1.parallels.com/Plesk/PP10/10.2.0/Doc/en-US/pdf/plesk-10-administrator-guide.pdf on page 166 describe a way to set a shell just for cron:

/usr/local/psa/admin/bin/server_pref -u -crontab-secure-shell ―/bin/sh‖

That path is wrong and should be /usr/local/psa/bin/server_pref, but even once corrected, the setting has no effect on the crontab if the user is set to chrootsh. It only changes the crontab if the user is set to Forbidden for the shell. I need to let users run jobs and give them chrootsh for access; any way to get around that yet?

You know you can adjust the permissions for each of the SHELL to enable users access certain folders / procs on the server. There is an article for that in the KB.
 
Back
Top