I need to limit the disk usage of 10s of users. All the target users belong to the same group.

It looks edquota -g <group-name> enforces the limit across all users of the group. In other words, that command let all users of the group altogether allocate specified amount of disk. I want the restriction to be applied to each individual user independently. Is there any option in edquata for this goal?

The naive solution: Repeating the edquoata -u <user-name> for each user one-by-one.

Thanks in advance.


If your system support -p option of edquota then I think it is what you need.

Create prototype user, set up quota, then just run

edquota -p prototypeuser targetuser
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.