1753600 Members
6592 Online
108796 Solutions
New Discussion юеВ

quota limit for ftp user

 
kholikt
Super Advisor

quota limit for ftp user

I have few ftp users. For each of the user I want to set up a limit for their folder. For example user1 folder can use up to 5MB and user2 can use up to 2MB only. How could I accomplish this.
abc
2 REPLIES 2
Geoff Wild
Honored Contributor

Re: quota limit for ftp user

First, touch quotas in the root of the filesystem yoiu want quotas for.
Use edquota to edit the quotas for the users.
Run quotacheck (to get currently occupied file system resources)
Use quotaon to turn on user quotas.
Use repquota to report.

Best is do a man -k quota, then man on each.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.