Adding chrooted FTP users outside of Plesk

To add a chrooted FTP user outside of Plesk properly, you need to: Create the user with the home directory as the root of what they can access Give the user a password Make their primary group psacln Add them to the psaserv group as well # useradd username -d /var/www/html/website/slideshow/ # echo "password" | passwd username –stdin Changing password for user username. passwd: all authentication tokens updated successfully.
Read more →

ProFTPD shows incorrect GMT time with Plesk

A really really strange issue randomly appears with ProFTPD and Plesk occasionally. On the filesystem, a file will have a correct creation/modification date, but then when you view it over FTP, it’s always off by the amount of hours you differ from GMT. For example, if the server is on Central Time, all of the files will seem to be created 6 hours after they were really created. The filesystem will show something like 10AM, but the FTP client will say 4PM.
Read more →

Enabling SSL in ProFTPD

If you need to enable SSL in ProFTPD, try this out: <IfModule mod_tls.c> TLSEngine on TLSRequired off TLSRSACertificateFile /etc/httpd/conf/ssl.crt/server.crt TLSRSACertificateKeyFile /etc/httpd/conf/ssl.key/server.key TLSVerifyClient off </IfModule>
Read more →

Group Editing With FTP

So you have multiple users that need to read and write to certain files on the filesystem? This can be done with vsftpd or proftpd quite easily. Let’s say you have users called ann, bill and carl and they need to manage files in /var/www/html. Here’s the steps: For vsftpd, change the umask for files created by FTP users. Open the vsftpd.conf file and edit the following: local_umask = 077 <– old local_umask = 022 <– new For proftpd, change the umask for files created by FTP users.
Read more →