• 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.

cron jobs and chroot shell are broken on 10.2

HostaHost

Regular Pleskian
So unless we give a customer a full /bin/bash shell, they can't log in at all using ssh and also can't set up cron jobs. In 10.2, if you try to ssh in when you have chroot shell set, you get this:

Last login: Wed Jun 29 12:32:54 2011 from localhost.localdomain
execv("/bin/bash") failed
system error: No such file or directory


And, in 10.2, customers' cron jobs are created with this in the crontab file:

SHELL=/usr/local/psa/bin/chrootsh

which causes any 'scheduled task' they create to fail with the same 'execv("/bin/bash") failed' error.
 
The Administrator's Guide shows how to change the shell for cronjobs: http://download1.parallels.net/Ples...US/online/plesk-administrator-guide/66791.htm

The administrator guides that Parallels produces often show things as being possible when they aren't. I take it you haven't actually tried what the guide says since the command is not even in the right location for starters. If you do find the correct location and use it, the setting has absolutely no effect if the user is set to the chrootsh shell. The user needs to either have a Forbidden shell, or a full shell, and if they've been given a full shell, then you would not encounter the problem in the first place. So the problem comes back to being one of you can either deny customers SSH access, or deny them cron job access, since they can't have both unless you give them unrestricted access to the server.
 
Back
Top