How to add a chrooted FTP account for access to a specific dir on a Linux Plesk server

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/
# passwd username
Enter new password for username
# usermod -g psacln username
# usermod -G psaserv username
You also need to chmod the directory in question to 775

That’s it.

http://blog.websightdesign.com/wp-content/plugins/sociofluid/images/digg_48.png http://blog.websightdesign.com/wp-content/plugins/sociofluid/images/reddit_48.png http://blog.websightdesign.com/wp-content/plugins/sociofluid/images/stumbleupon_48.png http://blog.websightdesign.com/wp-content/plugins/sociofluid/images/delicious_48.png http://blog.websightdesign.com/wp-content/plugins/sociofluid/images/twitter_48.png

Tags: , ,

Leave a Reply

CommentLuv Enabled

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word