1EDQUOTA(8) System Manager's Manual EDQUOTA(8)
2
3
4
6 edquota - edit user quotas
7
9 edquota [ -p protoname ] [ -u | -g ] [ -r ] [ -F format-name ] [ -f
10 filesystem ] username...
11
12 edquota [ -u | -g ] [ -F format-name ] [ -f filesystem ] -t
13
14 edquota [ -u | -g ] [ -F format-name ] [ -f filesystem ] -T username |
15 groupname...
16
18 edquota is a quota editor. One or more users or groups may be speci‐
19 fied on the command line. If a number is given in the place of
20 user/group name it is treated as an UID/GID. For each user or group a
21 temporary file is created with an ASCII representation of the current
22 disk quotas for that user or group and an editor is then invoked on the
23 file. The quotas may then be modified, new quotas added, etc. Setting
24 a quota to zero indicates that no quota should be imposed.
25
26 Users are permitted to exceed their soft limits for a grace period that
27 may be specified per filesystem. Once the grace period has expired,
28 the soft limit is enforced as a hard limit.
29
30 The current usage information in the file is for informational pur‐
31 poses; only the hard and soft limits can be changed.
32
33 Upon leaving the editor, edquota reads the temporary file and modifies
34 the binary quota files to reflect the changes made.
35
36 The editor invoked is vi(1) unless either the EDITOR or the VISUAL
37 environment variable specifies otherwise.
38
39 Only the super-user may edit quotas.
40
42 -r, --remote
43 Edit also non-local quota use rpc.rquotad on remote server to
44 set quota. This option is available only if quota tools were
45 compiled with enabled support for setting quotas over RPC. The
46 -n option is equivalent, and is maintained for backward compati‐
47 bility.
48
49 -u, --user
50 Edit the user quota. This is the default.
51
52 -g, --group
53 Edit the group quota.
54
55 -p, --prototype=protoname
56 Duplicate the quotas of the prototypical user specified for each
57 user specified. This is the normal mechanism used to initialize
58 quotas for groups of users.
59
60 -F, --format=format-name
61 Edit quota for specified format (ie. don't perform format
62 autodetection). Possible format names are: vfsold (version 1
63 quota), vfsv0 (version 2 quota), rpc (quota over NFS), xfs
64 (quota on XFS filesystem)
65
66 -f, --filesystem filesystem
67 Perform specified operations only for given filesystem (default
68 is to perform operations for all filesystems with quota).
69
70 -t, --edit-period
71 Edit the soft time limits for each filesystem. In old quota
72 format if the time limits are zero, the default time limits in
73 <linux/quota.h> are used. In new quota format time limits must
74 be specified (there is no default value set in kernel). Time
75 units of 'seconds', 'minutes', 'hours', and 'days' are under‐
76 stood. Time limits are printed in the greatest possible time
77 unit such that the value is greater than or equal to one.
78
79 -T, --edit-times
80 Edit time for the user/group when softlimit is enforced. Possi‐
81 ble values are 'unset' or number and unit. Units are the same as
82 in -t option.
83
85 aquota.user or aquota.group
86 quota file at the filesystem root (version 2 quota,
87 non-XFS filesystems)
88 quota.user or quota.group
89 quota file at the filesystem root (version 1 quota,
90 non-XFS filesystems)
91 /etc/mtab mounted filesystems table
92
94 quota(1), vi(1), quotactl(2), quotacheck(8), quotaon(8), repquota(8),
95 setquota(8)
96
97
98
99 EDQUOTA(8)