Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

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
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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