• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

/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