IPADD(8)

NAME
ipadd - increase/decrease/set ip quota for a certain user

SYNOPSIS
ipadd [ -vh ] user quota

DESCRIPTION
ipadd increases, decreases or sets the ip quota of the specified user. The user argument specifies the user whose ip quota should be changed. It may be either a user id, a username or the special value "everyone" which causes every user in the accouting file @QUOTA_STATS@ to be handled. The quota argument specifies the amount that the ip quota is changed. Both negative and positive values are allowed. You can specify a unit by appending a "b",a "k",or a "m" ,for bytes, kilobytes or megabytes respectively, directly after the number. If no unit is specified, bytes are used.

OPTIONS
ipadd allows the following options:

-v  Display the version of ipadd

-h  Display a short usage message

-s  Set the ip quota to the specified quota on the command line

FILES
@QUOTA_STATS@

BUGS
One cannot impose an ip quota on the superuser. This can be considered a feature. If you specify a negative quota on the command line the GNU getopt(3) function tries to be clever and interpretes the quota as on option. To prevent this use the -- option to explicitly state the end of the options, e.g.
    ipadd -- username -1000
    ipadd -s -- username -1024.
Well, there are no other bugs known so far, but if you find one or have suggestions and improvements in mind, please mail them to me (see AUTHOR below).

SEE ALSO
ipquota(8), sayip(1), ipacct(8), ipacctd(8)

AUTHOR
Lars Fenneberg (lf@gimli.comlink.de)