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

chrootsh broken on 10.4 upgrades

HostaHost

Regular Pleskian
On servers being upgraded from earlier Plesk 10 versions to 10.4.4, all of the new environment files that would normally be added to make chrootsh work are not added, and that prevents chrootsh users from logging in. At the very least, /bin/bash needs to be copied in, and probably the rest of /bin to make shell access not useless, the /lib64 directory for required libraries, /tmp for session data and without /dev/null, sftp doesn't work.

Is there a command that can be run on upgraded servers that will go through every single client on the server to create the required directories or do I need to write something custom?

I can't open a ticket until I've confirmed this is actually a bug because Parallels penalizes partners if you open a ticket and they don't consider it a bug.
 
Same problem

Hi @Hostasaurus.Com, did you get any response to this? I have what appears to be the same problem. i.e. with the main FTP user account set to /bin/bash (chrooted) then SFTP gives an access denied error.
 
Hi @Hostasaurus.Com, did you get any response to this? I have what appears to be the same problem. i.e. with the main FTP user account set to /bin/bash (chrooted) then SFTP gives an access denied error.

Nope; but most things that are bugs tend to be ignored lol.

We had to write a script to go through each chrooted site and copy in the contents of the /var/www/vhosts/chroot/ directory. I'd recommend using rsync because you need to preserve the sticky bit on the tmp directory and the socket file in the dev directory. There was a bit more to it than that though; since 10.2+ stupidly changed the behavior of subdomains having their own httpdocs and cgi-bin directories in /subdomains/<name>/ to one where the customer can choose any name they want for the document directory, before copying in these new directories from chroot, you have to first check to make sure the customer didn't create any subdomains and call the directories dev, etc, tmp or var.
 
Back
Top