edquota(1M)


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

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 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.

edquota is supported on the ufs and vxfs FStypes. 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. If -F FSType is not specified it is determined by matching the inputfs device with an entry in /etc/vfstab. If this fails, heuristics similiar to those used by fstyp(1M) are used to determine the file system type.


NOTE: If the FSType is known beforehand, use the -F option. This command executes faster if it is not required to autodetect file system types.


-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), fstyp(1M), vfstab(4)

Notices

This command may not be supported for all FSTypes.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004