HP-UX Reference (11i v3 07/02) - 5 Miscellaneous Topics (vol 9)

q
quota(5) quota(5)
1. Use edquota to copy the quotas of an existing user.
2. Run quotacheck .
Adding a New File System to an Established System
Repeat steps 1 through 5 above under "Initial Setup" for the new file system.
WARNINGS
The HP-UX default is to allow chown()
. This can interfere with the disk quota mechanism. Quotas can
be defeated if the
chown command (see chown(1)) or the
chown() system call (see chown(2)) is accessible
to a user. The
setprivgrp command (see setprivgrp(1M)) can be used to limit access to the
chown()
system call so that only a specified group of users are permitted to use the
chown command or the
chown() system call.
The sam command (see sam(1M)) does not yet support disk quotas. When adding new users or file sys-
tems, any desired quotas must be established outside of
sam.
HP has added features to the original implementation to ensure correctness of the content of the quotas file
when quotas are enabled by
mount and disabled by
umount (see mount(1M)), thus eliminating the need
to run
quotacheck (see quotacheck(1M)). These features are ineffective, however, if quotaoff and
quotaon (see quotaon(1M)) are used to control quotas.
quotacheck should only be run on a dormant file system to ensure accurate usage information. The
-qv options of the fsclean command (see fsclean(1M)) report on the current viability of the quota infor-
mation.
AUTHOR
Disk Quotas were developed by the University of California, Berkeley, Sun Microsystems, and HP.
FILES
/etc/fstab Static information about the file systems
/etc/mnttab Mounted file system table
directory/quotas
directory/quota.group
User and group quota statistics static storage for a file system respectively,
where directory is the root of the file system, as specified to the
mount
command (see mount(1M)).
SEE ALSO
chown(1), quota(1), edquota(1M), mount(1M), quot(1M), quotacheck(1M), quotaon(1M), rquotad(1M),
setprivgrp(1M), chown(2), quotactl(2), vfsmount(2), fstab(4).
HP-UX 11i Version 3: February 2007 3 Hewlett-Packard Company 393