edquota(1M)


edquota (generic) -- edit user quotas for file systems

Synopsis

edquota [-F FSType] [-V] [current_options] [-o specific_options] username . . .

Description

edquota is a quota editor. One or more users may be specified on the command line. For each user a temporary file is created with an ASCII representation of the current disk quotas for that user for each mounted ufs file system that has a quotas file, and an editor is then invoked on the file. The quotas may then be modified, new quotas added, and so on. 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 a privileged 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 quotas. See quotaon(1M) for details.

Command options

-F
Specify the FSType on which to operate. The FSType should either be specified here or be determinable from /etc/vfstab by matching the inputfs (device) with an entry in the table.

-V
Echo the complete command line, but do not execute the command. The command line is generated by using the options and arguments provided by the user and adding to them information derived from /etc/vfstab. This option should be used to verify and validate the command line.

-o
Specify FSType-specific options.

Files

/etc/vfstab
list of default parameters for each file system

References

edquota_ufs(1M), vfstab(4)

Notices

This command may not be supported for all FSTypes.
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.