7.6. Copying Quotas to Multiple Users

If you have a large number of users on your system and want them to all have the same quotas, there is an easier solution than setting each user individually. Instead, you can set the quotas that you want for one user and duplicate his settings to as many other users as you want. The only down side is that quotas are copied on all filesystems, not just a single one.

The steps for copying quotas like this are:

1.
Set the quotas for a single source user, as explained in Section 7.5 “Setting Quotas for a User or Group”.

2.
On the main page of the module, enter the username of the source user into the Edit User Quotas page and press the button.

3.
On the page that appears listing the user's quotas on all filesystems, click the Copy Quotas button. This will take you to a form for choosing to which users the quota settings will be copied.

4.
Choose which target users to copy quotas to by selecting one of the options on the form:

All users on your system Every single user on your system will have the same quota settings. You may want to set quotas for root back to unlimited after doing this.

Selected users Only the users entered into the field next to this option will have their quotas set.

Members of selected groups All primary and secondary members of the groups entered into the field next to this option will have their quotas set.

5.
Click the Copy button to copy the quotas for the source user on all filesystems to all target users.

If you are using group quotas, it is also possible to copy the settings for one group to multiple other groups. The options for choosing which groups to copy to, however, are slightly different. The Selected users option is replaced with Selected groups, and the Members of selected groups option is replaced with Groups containing users. The latter option will copy to all groups that have one of the entered users as a member.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.110.119