2025-03-14 21:59:59 -06:00
|
|
|
# edquota
|
|
|
|
|
|
|
|
|
|
> Edit quotas for a user or group. By default it operates on all filesystems with quotas.
|
|
|
|
|
> Quota information is stored permanently in the `quota.user` and `quota.group` files in the root of the filesystem.
|
|
|
|
|
> More information: <https://manned.org/edquota>.
|
|
|
|
|
|
|
|
|
|
- Edit quota of the current user:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`edquota {{[-u|--user]}} $(whoami)`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Edit quota of a specific user:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`sudo edquota {{[-u|--user]}} {{username}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Edit quota for a group:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`sudo edquota {{[-g|--group]}} {{group}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Restrict operations to a given filesystem (by default edquota operates on all filesystems with quotas):
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`sudo edquota {{[-f|--file-system]}} {{filesystem}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Edit the default grace period:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`sudo edquota {{[-t|--edit-period]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Duplicate a quota to other users:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`sudo edquota {{[-p|--prototype]}} {{reference_user}} {{destination_user1}} {{destination_user2}}`
|