Developer's Daily Unix by Example
  main | java | perl | unix | dev directory | web log
 
 
Main
Unix
Man Pages
   

EDQUOTA

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
FILES
SEE ALSO
BUGS

NAME

edquota ? edit user quotas

SYNOPSIS

/usr/sbin/edquota [ ?p proto-user ] [ ?ug ] name...

/usr/sbin/edquota [ ?n ] [ ?ug ] ?t

DESCRIPTION

edquota is a quota editor. One or more users or groups may be specified on the command line. For each user or group a temporary file 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 quotas may then be modified, new quotas added, etc. Upon leaving the editor, edquota reads the temporary file and modifies the binary quota files to reflect the changes made.

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

Only the super-user may edit quotas. (In order for quotas to be established on a file system, the root directory of the file system must contain a file, owned by root, called quota.user or quota.group. See quotaon(8) for details.)

OPTIONS

?n

Edit also non-local quota use rpc.rquotad on remote server to set quota.

?u

Edit the userquota. This is the default.

?g

Edit the groupquota.

?p

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.

?t

Edit the soft time limits for each file system. If the time limits are zero, the default time limits in <linux/quota.h> are used. Time units of sec(onds), min(utes), hour(s), day(s), week(s), and month(s) are understood. Time limits are printed in the greatest possible time unit such that the value is greater than or equal to one.

FILES

quota.user or quota.group

quota file at the file system root

/etc/mtab

mounted file systems

SEE ALSO

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

BUGS

The format of the temporary file is inscrutable.


copyright 1998-2007, devdaily.com, all rights reserved.
devdaily.com, an alvin j. alexander production.