Debian Codegraph @

debian/ftpquota.8

raw
1 .TH FTPQUOTA "8" "August 2005" "Proftpd" "Proftpd Utilities"
2 .SH NAME
3 ftpquota \- An utility to manage Proftpd quotas
4 .SH SYNOPSIS
5 usage: ftpquota [options]
6 .SH DESCRIPTION
7 This utility can be used to create quota tables and manage their records
8 in order to control the mod_quotatab module behavior in Proftpd.
9 .SH OPTIONS
10 .PP
11 The following options describe the type of operation to be performed:
12 .TP
13 \fB\-\-add\-record\fR
14 Create a new record with the specified limits. Any
15 limits left unspecified with have their default
16 values. This option requires the \fB\-\-name\fR and
17 \fB\-\-quota\-type\fR options.
18 .TP
19 \fB\-\-create\-table\fR
20 Create the table if not present. Used to initialize
21 a table. The default limit table path is
22 "./ftpquota.limittab". The default tally table path is
23 "./ftpquota.tallytab".
24 .TP
25 \fB\-\-delete\-record\fR
26 Deletes a quota record from the table. This option
27 requires the \fB\-\-name\fR and \fB\-\-quote\-type\fR options.
28 .TP
29 \fB\-\-show\-records\fR
30 Prints out all of the quota records in the table in
31 a legible format.
32 .TP
33 \fB\-\-update\-record\fR
34 Updates a quota record with the specified limits. Any
35 limits left unspecified will be updated with their
36 default value. This option requires the \fB\-\-name\fR and
37 \fB\-\-quota\-type\fR options.
38 .PP
39 The following option describes the type of table on which to operate:
40 .TP
41 \fB\-\-type\fR
42 Specifies a table type to use. The allowable options
43 are: "limit" or "tally". This is required.
44 .IP
45 The following options are used to specify specific quota limits:
46 .TP
47 \fB\-\-Bu\fR, \fB\-\-bytes\-upload\fR
48 Specifies the limit of the number of bytes that may be
49 uploaded. Defaults to \fB\-1\fR (unlimited).
50 .TP
51 \fB\-\-Bd\fR, \fB\-\-bytes\-download\fR
52 Specifies the limit of the number of bytes that may be
53 downloaded. Defaults to \fB\-1\fR (unlimited).
54 .TP
55 \fB\-\-Bx\fR, \fB\-\-bytes\-xfer\fR
56 Specifies the limit of the number of bytes that may be
57 transferred. Note that this total includes uploads,
58 downloads, AND directory listings. Defaults to
59 \fB\-1\fR (unlimited).
60 .TP
61 \fB\-\-Fu\fR, \fB\-\-files\-upload\fR
62 Specifies the limit of the number of files that may be
63 uploaded. Defaults to \fB\-1\fR (unlimited).
64 .TP
65 \fB\-\-Fd\fR, \fB\-\-files\-download\fR
66 Specifies the limit of the number of files that may be
67 downloaded. Defaults to \fB\-1\fR (unlimited).
68 .TP
69 \fB\-\-Fx\fR, \fB\-\-files\-xfer\fR
70 Specifies the limit of the number of files that may be
71 transferred, including uploads and downloads. Defaults
72 to \fB\-1\fR (unlimited).
73 .TP
74 \fB\-L\fR, \fB\-\-limit\-type\fR
75 Specifies the type of limit, "hard" or "soft", of
76 the bytes limits. If "hard", any uploaded files that
77 push the bytes used counter past the limit will be
78 automatically deleted; if "soft", those extra bytes
79 will be allowed, but future uploads will be denied.
80 This option only makes sense if \fB\-\-type\fR is "limit".
81 .TP
82 \fB\-N\fR, \fB\-\-name\fR
83 Specifies a name for the quota record. This name
84 will be the user/login name, group name, or class
85 name, depending on the quota type. This option
86 is ignored if the quota type specified is "all".
87 .HP
88 \fB\-P\fR, \fB\-\-per\-session\fR
89 Specifies that the quota limit is to be applied only
90 to each session, rather than persisting across
91 sessions. By default, quotas are persistent.
92 Specifies a "quota type" for this record, where
93 .TP
94 \fB\-Q\fR, \fB\-\-quota\-type\fR
95 the type means to which category of FTP users this
96 quota will apply. The quota type must be one of:
97 "user", "group", "class", or "all".
98 .PP
99 The following options are miscellaneous:
100 .TP
101 \fB\-\-help\fR
102 Displays this message.
103 .TP
104 \fB\-\-table\-path\fR
105 Specifies the path to a quota table file to use.
106 .TP
107 \fB\-\-units\fR
108 Specifies whether to treats bytes as is, in kilobytes,
109 megabytes, or gigabytes. Allowable options are:
110 "B" or "byte", "Kb" or "kilo", "Mb" or "mega",
111 and "Gb" or "giga". Defaults to "byte".
112 .TP
113 \fB\-\-verbose\fR
114 Toggles more verbose information about the doings of
115 the tool as it works.
116 .SH AUTHORS
117 The Proftpd team. See http://www.proftpd.org/ for information.
118 .SH COPYRIGHT
119 Copyright (C) 2000-2002 TJ Saunders <[email protected]>.
120 .P
121 This program is free software; you can redistribute it and/or modify
122 it under the terms of the GNU General Public License as published by
123 the Free Software Foundation; either version 2 of the License, or
124 (at your option) any later version.
125 .SH NOTES
126 Manual page written for Debian GNU/Linux by
127 Francesco P. Lovergine <[email protected]>, Aug 2005
128