Discussion Locked

How to configure a FTP server with space

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I want to configure a redhar linux box to serve my ftp needs.i'm looking for disk quotas for perticular group or individuals like 50Mb for a group and who wants 50 MB of space will be in this group.I want them to not go to any other directory excepttheir home directory.I want to do these things working under a single IP address.

5 replies

by mckaytech

The best source I've found for disk quotas in Linux can be found at:
www.linuxdoc.org/HowTo/mini/Quota.html (also accessible through www.redhat.com and search on "quota").

As far as setting up the directories, you can set up an account for each user (or for a group) and on the same line as their user id, group id, etc. you can define a home directory. You can then create the directory (home/ftpuser1 home/ftpuser2...) and give them ownership using chown and define the permissions using chmod. Some of the specifics will depend on whether you will be using wu-ftpd or some other FTP daemon (my favorite is NcFTPd).

With this setup, they will log on, go to their own home directory (and nowhere else) and be limited by the disk quotas asto how much stuff they can store there.

paul

The single IP address is no problem since that is how you connect to the FTP daemon and it then handles all the downstream file and directory services.

This discussion is closed to new replies.