Seth Woolley's Man Viewer

edquota(8) - edquota - edit user quotas - man 8 edquota

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

EDQUOTA(8)                                                          EDQUOTA(8)



NAME
       edquota - edit user quotas

SYNOPSIS
       edquota  [  -p  protoname  ] [ -u | -g ] [ -r ] [ -F format-name ] [ -f
       filesystem ] username...

       edquota [ -u | -g ] [ -F format-name ] [ -f filesystem ] -t

       edquota [ -u | -g ] [ -F format-name ] [ -f filesystem ] -T  username |
       groupname...

DESCRIPTION
       edquota  is  a quota(1,8) editor.  One or more users(1,5) or groups may be speci-
       fied on the command line.  For each user or group a temporary  file(1,n)  is
       created  with  an  ASCII  representation of the current disk quotas for
       that user or group and an editor is then invoked on the file.  The quo-
       tas  may  then  be modified, new quotas added, etc.  Setting a quota(1,8) to
       zero indicates that no quota(1,8) should be imposed.

       Users are permitted to exceed their soft limits for a grace period that
       may  be  specified  per filesystem.  Once the grace period has expired,
       the soft limit is enforced as a hard limit.

       The current usage information in(1,8) the file(1,n)  is  for  informational  pur-
       poses; only the hard and soft limits can be changed.

       Upon  leaving the editor, edquota reads the temporary file(1,n) and modifies
       the binary quota(1,8) files to reflect the changes made.

       The editor invoked is vi(1) unless either  the  EDITOR  or  the  VISUAL
       environment variable specifies otherwise.

       Only the super-user may edit quotas.

OPTIONS
       -r     Edit  also  non-local  quota(1,8) use rpc.rquotad on remote server to
              set(7,n,1 builtins) quota.  This option is available only if(3,n)  quota(1,8)  tools  were
              compiled  with enabled support for setting quotas over RPC.  The
              -n option is equivalent, and is maintained for backward compati-
              bility.

       -u     Edit the user quota. This is the default.

       -g     Edit the group quota.

       -p protoname
              Duplicate the quotas of the prototypical user specified for each
              user specified.  This is the normal mechanism used to initialize
              quotas for groups of users.

       -F format-name
              Edit  quota(1,8)  for  specified  format  (ie.  don't  perform format
              autodetection).  Possible format names are:  vfsold  (version(1,3,5)  1
              quota(1,8)),  vfsv0  (version(1,3,5)  2  quota(1,8)),  rpc(3,5,8)  (quota(1,8) over NFS), xfs
              (quota(1,8) on XFS filesystem)

       -f filesystem
              Perform specified operations only for given filesystem  (default
              is to perform operations for all filesystems with quota(1,8)).

       -t     Edit  the  soft  time(1,2,n)  limits for each filesystem.  In old quota(1,8)
              format if(3,n) the time(1,2,n) limits are zero, the default time(1,2,n)  limits  in(1,8)
              <linux/quota.h>  are  used. In new quota(1,8) format time(1,2,n) limits must
              be specified (there is no default value  set(7,n,1 builtins)  in(1,8)  kernel).  Time
              units(1,7)  of  'seconds',  'minutes',  'hours', 'days', 'weeks', and
              'months' are understood. Time limits are printed in(1,8) the greatest
              possible  time(1,2,n) unit such that the value is greater than or equal
              to one.

       -T     Edit time(1,2,n) for the user/group when softlimit is enforced.  Possi-
              ble  values  are  'unset'  or number and unit. Units are same as
              used in(1,8) -t option.

FILES
       aquota.user or aquota.group
                           quota(1,8) file(1,n) at the filesystem root (version(1,3,5) 2 quota(1,8),
                           non-XFS filesystems)
       quota.user or quota.group
                           quota(1,8) file(1,n) at the filesystem root (version(1,3,5) 1 quota(1,8),
                           non-XFS filesystems)
       /etc/mtab           mounted filesystems table

SEE ALSO
       quota(1,8)(1), vi(1), quotactl(2), quotacheck(8),  quotaon(8),  repquota(8),
       setquota(8)



                                                                    EDQUOTA(8)

References for this manual (incoming links)