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

User can access / of server over SFTP only

Joel Hansen

New Pleskian
We are currently running Plesk 12 on Ubutnu 12.04 LTS.

The only relevant documentation we could find so far is this: http://kb.parallels.com/en/9689

Where:

Symptoms
FTP users created for accessing certain domains can access another customer's domain and other directories on the server. They also have access to the root directory.
FTP users should be able to view only their own domain's directory.
Cause
The issue may occur in the following cases:
You have an unsupported FTP server program installed.
The ProFTPd configuration file has been manually edited (the DefaultRoot directive value has been changed).
Resolution
To allow users to access only their home directories, add the "DefaultRoot ~" line at the end of the FTP server's configuration file (usually /etc/proftpd.conf):
# echo "DefaultRoot ~" >> /etc/proftpd.conf

Which would be great! However, this does not seem to be a solution for us. Right now, this is restricted to SFTP and not FTP and after including "DefaultRoot ~" >> /etc/proftpd.conf, we see no change in behavior. It's possible that OpenSSH is not properly handling FTP user group(s) and we are looking into that.

So ultimately, we would like to know if there's something else we need to be configuring to restrict SFTP users to their home directory as well as the Plesk user/usergroup that may need to be configured within OpenSSH.

Thank you in advance to the community!
 
Back
Top