Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Let me start by saying that I know sftp is better and more secure than FTP and should be used instead. That being said, I am implementing a small FTP server for a few users, and several different clients to be able to upload files. I'd like to have as little administration overhead as possible. Here is what I would like to have happen.
User requests new FTP server. Network admin logs in, uses adduser to create a new account for their client to upload files. That much I know........
I'd like one account that if the user logs in, they see all other user folders, and have permissions to copy/delete files. I figure I would setup a ftpadmin account with a home folder of /home and set group on /home to root.ftpadmin. I would then chgrp all of the user folders to ftpadmin so it is owned by the user, and the ftpadmin group. Then I would set folder permissions to 770 so the user and anyone in the ftpadmin group could read/write to it, but no-one else. This gives the ftpadmin group permissions to see all files and delete them as well.
Is there an easier way to do this? End user stuff must be monkey proof, admin stuff should be easy enough for a Windows network admin to understand.