Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Originally posted by 0p3r4 Hello everyone, I would like to know if there is an easy way to give every member of a certain group a specified amount of diskspace using quotas.
If I set a group to have 10 mb, does that mean that (1) that group can have 10 mb in total or (2) does it mean that each member gets 10 mb?
If it works, as i presume it does, as option #1, is there any other way to give every groupmember a specified amount of diskspace?
--0p3r4
i think setting a group to 10MB means only the group as a whole gets 10MB, not each member of the group. otherwise it wouldn't make sense to even have a group quota, for example if you added more users the project or group would just keep getting bigger.
i also don't believe you can set quotas for groupmembers *within* an individual group (meaning as opposed to just giving them a quota in general), if that's what you mean by the second part, but i could be wrong. it would be interesting to see how that's done if it is possible, though.
well thats pretty much what i thought... one idea i have summoned up since posting this earlier today was that you might also be able to perform this by dedicating a high starting ID-number of the affected users, lets say like 700, this way you would be able to use one single syntax to give every user from 700 and up the same quotas.
======== 4.3. Assigning quota for a bunch of users with the same value
To rapidly set quotas for, say 100 users, on my system to the same
value as my user bob, I would first edit bob's quota information by
hand, then execute:
assuming that you are using csh, and that you assign your user UID's
starting with 500.
========
Anyway, unless someone has a better idea i guess this is how i will do this.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.