• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

plesk 9.3 chrootsh logout problem with su from root

mjail45

New Pleskian
Something that I noticed recently with plesk 9.3 under Ubuntu 8.04, is that when root uses su to switch to a chrooted user, the user login is successful the first time, but if I logout of that user and then try to "su - user" again, I get logged out automatically as soon as I type any key:

web01:~# su - gmaster
bash-3.2$ e
bash: e: command not found
bash-3.2$ exit
logout
web01:~# su - gmaster
bash-3.2$ elogout
web01:~#

In the example above, as root I su'ed to a chrooted user gmaster for the first time, and typed the letter e and hit enter. The results are normal (command not found).. Then I logged out, and then logged back in to that same user, and again typed the letter e, and right away I am logged out. It happens when any key is typed. Again, this only happens with root. Using su from another (non-chroot) account works fine.

This has been verified on two separate servers, both with plesk 9.3 and ubuntu 8.04.

I have another server with plesk 9.2 and centos 5, and it doesn't have this issue, so I copied the chrootsh binary from that server to one of the plesk 9.3 servers and now the su issue seems to have been solved, atleast temporarilly.

So, any idea when the chrootsh binary with plesk 9.3 will be fixed?
 
Thank you for your detailed information. I have forwarded it to developers for the further investigation. I will update this thread with results as soon as I receive it.
 
any new info

IgorG,

Have any new developments been made as far as this issue is concerned? I'd especially like to know if using the chrootsh binary from Plesk 9.2 is a safe alternative in the meantime (I've found no problems with it, but that doesn't necessarily mean it's safe).

Also, any other Plesk 9.3 users on Linux: please post your experiences with this issue, as it may prove useful to the developers. And keep in mind, this is a root su issue only; it doesn't affect other non-chroot users who use su, and it doesn't affect ssh logins in any way.
 
Developers have informed that they cant reproduce this problem.
 
Back
Top