edquota_ufs(1M)


edquota_ufs -- edit user quotas for ufs file system

Synopsis

edquota [-F ufs] [generic_options] [-p proto_user] username . . .

edquota [-F ufs] [generic_options] -t

Description

generic_options are options supported by the generic edquota command.

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.

proto_user and username can be numeric, corresponding to the uid of a user. Unassigned uids may be specified; unassigned names may not. In this way, default quotas can be established for users who are later assigned a uid.

ufs-specific options


-F ufs
Specify the ufs FSType. If -F ufs is not specified, heuristics similiar to those used by fstyp(1M) are used to determine the file system type.


NOTE: This command executes faster if it is not required to autodetect file system types. If possible, specify the -F ufs.


-p
Duplicate the quotas of the proto_user specified for each username 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 /usr/include/sys/fs/ufs_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


quotas
quota file at the file system root

/etc/mnttab
table of mounted file systems

References

generic edquota(1M), fstyp(1M), generic quota(1M), generic quotacheck(1M), generic quotaon(1M), generic repquota(1M), vi(1)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004