LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   VsFTPD help (https://www.linuxquestions.org/questions/linux-software-2/vsftpd-help-4175486234/)

andros84 11-29-2013 04:38 AM

VsFTPD help
 
I need to install FTP server in my company for file sharing, backup, and archiving.
I use CentOS 6.4 64bit and the latest version of vsftpd.

I was able to install and do basic configuration of the vsftpd FTP server, that is:
- Set up a couple of virtual users who do not have the permission to access anything but their home folder and its content, using this guide http://www.howtoforge.com/vsftpd-loc...nce-centos-6.0
- I installed the certificate and enabled the use of SFTP .

I'd like to make vsftpd server do the following:
- There are three groups of users, so that each group has some number of users. Users have theirs own home folder, which are located in the home folder of the group, which are located in home folder of FTP server.
- User Nick (rookie) can't leave his home folder, and user Chris (senior staff) has permission to see the content of group's home folder /var/ftp/groupa2, but he doesn't have permission to change folder in any way.
- Other than administrator, there should be another user, director, who has permission to access, delete, or change files and folders in subfolders of all groups and users, but he shouldn't be able to leave the /var/ftp.

- This is how it should look:
/var/ftp/ - server
/var/ftp/group1 - home folder groups
/var/ftp/group2
/var/ftp/group1/nick - home folder users
/var/ftp/group2/chris - home folder users

My questions are:
- Where should be the location of director's home folder?
- How can I make groups of FTP users in vsftpd when using virtual users? And how can I join virtual users to the group?
- How can I make each group has its own users who can access a group folder and theirs home folder which is a sub folder of group folders?
- Is it possible for a user to be a member of several groups? If possible how can this be done?
- Is it possible to enable user to read, write and delete files in his home folder, and to have only read only permissions in his groups home folder? If yes how?

Any help will be much appreciated?

Z038 11-30-2013 11:51 AM

Is this a school assignment? A question on a certification exam? A social research experiment to compare the answers you get on different forums? In addition to this forum, I see that you've posted the exact same question all over the web:

http://www.howtoforge.com/forums/sho...d.php?p=306638
https://www.centos.org/forums/viewto...p?f=14&t=43546
http://www.mmo-champion.com/threads/...FTPD-need-help
http://www.edugeek.net/forums/nix/12...ing-group.html
http://www.petri.co.il/forums/showthread.php?t=64902
https://www.linuxforums.org/forum/re...ns-groups.html

You have a lot of questions, and you're asking people to do a lot of work for you, without revealing much about what you've actually accomplished yourself. I notice no one has responded to your question on any forum yet. It really looks like a school assignment or a certification exam question. You'll likely not get much help unless you can convince people they aren't just doing your homework for you.


All times are GMT -5. The time now is 02:21 AM.