Skip to content

vsetuserquota.1

Manvendra Bhangui edited this page May 28, 2024 · 4 revisions

NAME

vsetuserquota - Set quota for a user in a virtual domain

SYNOPSYS

vsetuserquota [ options ] email_address quota_in_bytes

DESCRIPTION

vsetuserquota changes a users hard quota limit. vsetuserquota has setuid bit set and must be run as root or indimail user.

OPTIONS

-v
Set verbose mode.

email_address
The email address of the user.

quota_in_bytes
The hard quota limit in bytes. Abbrievations can be used for kilobytes, megabytes and gigabytes. For example vsetuserquota user@domain 5m will set the quota to 5 mega bytes. Or vsetuserquota user@domain 2k will set the quota to 2k. vsetuserquota user@domain NOQUOTA will turn off all quota checking for that user.

If the domain has domain limits set using vlimit(1), then domain limits apply. Setting of quota will not be allowed if permission for modifying quota is disabled in domain limits.

RETURN VALUE

0 if all steps were successful, non-zero otherwise. If any of the steps fail, a diagnostic message is printed.

SEE ALSO

vadduser(1), vmoduser(1), resetquota(8), vlimit(1),

Clone this wiki locally