1EDQUOTA(8)                  System Manager's Manual                 EDQUOTA(8)
2
3
4

NAME

6       edquota - edit user quotas
7

SYNOPSIS

9       edquota  [  -p  protoname ] [ -u | -g ] [ -rm ] [ -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

DESCRIPTION

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

OPTIONS

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       -m, --no-mixed-pathnames
50              Currently, pathnames of NFSv4 mountpoints are sent without lead‐
51              ing slash in the path.  rpc.rquotad uses this to recognize NFSv4
52              mounts and properly prepend pseudoroot of NFS filesystem to  the
53              path.  If  you  specify  this  option, setquota will always send
54              paths with a trailing slash. This can be useful for legacy  rea‐
55              sons  but  be aware that quota over RPC will stop working if you
56              are using new rpc.rquotad.
57
58       -u, --user
59              Edit the user quota. This is the default.
60
61       -g, --group
62              Edit the group quota.
63
64       -p, --prototype=protoname
65              Duplicate the quotas of the prototypical user specified for each
66              user specified.  This is the normal mechanism used to initialize
67              quotas for groups of users.
68
69       -F, --format=format-name
70              Edit quota  for  specified  format  (ie.  don't  perform  format
71              autodetection).   Possible  format  names are: vfsold (version 1
72              quota), vfsv0 (version 2  quota),  rpc  (quota  over  NFS),  xfs
73              (quota on XFS filesystem)
74
75       -f, --filesystem filesystem
76              Perform  specified operations only for given filesystem (default
77              is to perform operations for all filesystems with quota).
78
79       -t, --edit-period
80              Edit the soft time limits for each  filesystem.   In  old  quota
81              format  if  the time limits are zero, the default time limits in
82              <linux/quota.h> are used. In new quota format time  limits  must
83              be  specified  (there  is  no default value set in kernel). Time
84              units of 'seconds', 'minutes', 'hours', and  'days'  are  under‐
85              stood.  Time  limits  are  printed in the greatest possible time
86              unit such that the value is greater than or equal to one.
87
88       -T, --edit-times
89              Edit time for the user/group when softlimit is enforced.  Possi‐
90              ble values are 'unset' or number and unit. Units are the same as
91              in -t option.
92

FILES

94       aquota.user or aquota.group
95                           quota file at the filesystem root (version 2 quota,
96                           non-XFS filesystems)
97       quota.user or quota.group
98                           quota file at the filesystem root (version 1 quota,
99                           non-XFS filesystems)
100       /etc/mtab           mounted filesystems table
101

SEE ALSO

103       quota(1), vi(1), quotactl(2), quotacheck(8),  quotaon(8),  repquota(8),
104       setquota(8)
105
106
107
108                                                                    EDQUOTA(8)
Impressum