Implementing SFTP Quotas - Use case with RHEL 7
- clouddelight
- Aug 6, 2020
- 1 min read

In linux server do the following configurations
# /etc/fstab
After mounting the volume and making fstab entries, below are command
# quotaon -u /testing
Have a mount point for testing(can be replaced with the exact path where quotas are required)
# mount -o usrquota,remount /testing
How to set the quota:
# edquota quotauser
To check the quota:
repquota -v /testing/
This ensures that the user “quotauser” will not be able to upload files more that 5KB of size in this example. Quota has to be set as per the requirement.
Note: Always quota value is taken in KBs only.





Comments