• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

/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