lat-quota - The lazy administrator's tool to set user quota


Sets the disk quota for individual users on Mitel's SME servers (5.x/6.x). This tool is functionally equivalent to the 'Quota management' option in the server-manager, but can be run from the command line or called from an other script. It allows you, for example, to set the disk quota for a large number of accounts in a batch process or on a remote machine via an ssh console.

See /usr/doc/lazy-admin-tools/example.quota for the format of the input file.


lat-quota -c ``user | softlimit | hardlimit''

lat-quota -i /path/to/quota.list


The following options are supported:

-c ``Arguments'', --command-line=``Arguments''
Take arguments from the command line. See the 'Arguments' section below for the various arguments that are accepted.

-h, --help
Extended help for this tool

-i FILE, --input-file=FILE
Use the information from FILE to set the disk quota for individual users.


   user*      : Must be an existing user name. Wildcards (* and ?)
                are accepted.
   softlimit* : Limit with grace period in kilobytes, unless
                followed by M (megabytes) or G (gigabytes).
   hardlimit* : Absolute limit in kilobytes, unless followed by
                M (megabytes) or G (gigabytes).
   * mandatory field


lat-quota -c ``harry | 800M | 1G''

Sets the quota for user 'harry' to 800 MByte (soft limit) and 1 GByte (hard limit).

lat-quota -i /root/quota.list

Sets the quota for the users defined in /root/quota.list. Refer to /usr/doc/lazy-admin-tools/example.quota for an example of an input file.

lat-quota -c ``* | 100M | 120M''

Sets the qquota for all users to 100M / 120M.

lat-quota -c ``hermione | 0 | 0''

Turns off quota for user 'hermione'.


lat-group(8), lat-pseudonyms(8), lat-ibays(8), lat-users(8), lat-domains(8), lat-hosts(8), lat-procmail(8), lat-pptp(8), lat-dump(8)


Version 0.9.0 (2004-09-08). The latest version is hosted at


(c)2003-2004, Altiplano bvba ( Released under the terms of the GNU license.


Please report bugs to <Bugs@Altiplano.Be>