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

/bin/bash (chrooted) stopped working

ospito

New Pleskian
Hi all,
After upgrading from 8.4 to 8.6 chrooted bash doesn't work anymore.
This is the login procedure from the SFTP cliënt:

Finding Host customerdomain.com ...
Connecting to XX.XX.XX.XX:22
Connected to XX.XX.XX.XX:22 in 0.015625 seconds, Waiting for Server
Response
Server Welcome: SSH-2.0-OpenSSH_4.3
Client Version: SSH-2.0-WS_FTP-9.01-2006.07.25
DSS Signature Verified
Session Keys Created
Ciphers Created
New Client->Server ciphers in place.
New Client->Server ciphers in place.
Completed SSH Key Exchange. New Keys in place.
User Authenticated OK!
Completed SSH User Authentication.
Started subsystem "sftp" on channel 0760a2ce
Received channel close/eof(0x60) message for channel 0760a2ce
Error 842c0000 receiving sftp packet
error 842c0000 initializing sftp protocol
Sending channel close message for channel 0760a2ce
SSH Transport closed.

This user has /bin/bash (chrooted) as the login shell (/usr/local/psa/bin/chrootsh). A user with /bin/bash as login shell everything works fine. When I run /usr/local/psa/bin/chrootsh at command line this is the result:
# /usr/local/psa/bin/chrootsh
mkdtemp() failed
system error: No such file or directory

Anyone a suggestion? I'm stuck. Thanks in advance.
 
try running

sh -x /usr/local/psa/bin/chrootsh

to get more details on this error.

also check to what package this file belongs:
rpm -qf /usr/local/psa/bin/chrootsh

and check consistency of resulting package:
rpm -V package_name
 
Back
Top