• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved FTP users have access to root directory on server

Raymond_Davelaar

Basic Pleskian
OS ‪Ubuntu 14.04.5 LTS‬
Plesk Onyx Versie 17.0.17 Update #4, laatste update op 2016-10-25 13:23

FTP users have access to root directory on server. How to resolve
 
@Raymond_Davelaar, are you sure you're not mistaking server root for root of a chrooted shell? You may check /etc/passwd. How many entries (lines) does it have (please don't paste it here in full)?
 
which ftp server? proftpd? maybe you use sftp? are the users in /etc/passwd set to /bin/false?

/etc/proftpd/proftpd.conf
DocumentRoot set?
 
the users who are able to see root are granted bin/sh access under FTP settings. They cannot modify files but can read it and download it. Is there a saver way to grant them ssh access?
 
@Raymond_Davelaar, this dirs were added to your webspace after "Web Hosting Access" -> "Access to the server over SSH" was selected as "/bin/bash (chrooted)". They are hardlinks from /var/www/vhosts/chroot/ and no copies or links from your filesystem root (/). You could select another access type at Web Hosting Access to remove this dirs.
 
Back
Top