1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.29. |
---|
2 | .TH EDPYKOTA "1" "March 2003" "edpykota 0.99-unofficial" "PyKota Print Quota System" |
---|
3 | .SH NAME |
---|
4 | edpykota \- manual page for edpykota 0.99-unofficial |
---|
5 | .SH DESCRIPTION |
---|
6 | edpykota v0.99-unofficial (C) 2003 C@LL - Conseil Internet & Logiciels Libres |
---|
7 | A Print Quota editor for PyKota. |
---|
8 | .PP |
---|
9 | command line usage : |
---|
10 | .IP |
---|
11 | edpykota [options] user1 user2 ... userN |
---|
12 | edpykota [options] group1 group2 ... groupN |
---|
13 | .PP |
---|
14 | options : |
---|
15 | .TP |
---|
16 | \fB\-v\fR | \fB\-\-version\fR |
---|
17 | Prints edpykota's version number then exits. |
---|
18 | .TP |
---|
19 | \fB\-h\fR | \fB\-\-help\fR |
---|
20 | Prints this message then exits. |
---|
21 | .TP |
---|
22 | \fB\-a\fR | \fB\-\-add\fR |
---|
23 | Adds users and/or printers if they don't |
---|
24 | exist on the Quota Storage Server. |
---|
25 | .TP |
---|
26 | \fB\-u\fR | \fB\-\-users\fR |
---|
27 | Edit users print quotas, this is the default. |
---|
28 | .TP |
---|
29 | \fB\-P\fR | \fB\-\-printer\fR p |
---|
30 | Edit quotas on printer p only. Actually p can |
---|
31 | use wildcards characters to select only |
---|
32 | some printers. The default value is *, meaning |
---|
33 | all printers. |
---|
34 | .TP |
---|
35 | \fB\-g\fR | \fB\-\-groups\fR |
---|
36 | Edit groups print quotas instead of users. |
---|
37 | .TP |
---|
38 | \fB\-p\fR | \fB\-\-prototype\fR u|g Uses user u or group g as a prototype to set |
---|
39 | print quotas |
---|
40 | .TP |
---|
41 | \fB\-r\fR | \fB\-\-reset\fR |
---|
42 | Resets the printed page counter for the user |
---|
43 | or group to zero. The life time page counter |
---|
44 | is kept unchanged. |
---|
45 | .TP |
---|
46 | \fB\-S\fR | \fB\-\-softlimit\fR sl |
---|
47 | Sets the quota soft limit to sl pages. |
---|
48 | .TP |
---|
49 | \fB\-H\fR | \fB\-\-hardlimit\fR hl |
---|
50 | Sets the quota hard limit to hl pages. |
---|
51 | .IP |
---|
52 | user1 through userN and group1 through groupN can use wildcards |
---|
53 | if the \fB\-\-add\fR option is not set. |
---|
54 | .PP |
---|
55 | examples : |
---|
56 | .IP |
---|
57 | \f(CW$ edpykota -p jerome john paul george ringo\fR |
---|
58 | .IP |
---|
59 | This will set print quotas for the users john, paul, george and ringo |
---|
60 | to the same values than user jerome. User jerome must exist. |
---|
61 | .IP |
---|
62 | \f(CW$ edpykota --printer lp -S 50 -H 60 jerome\fR |
---|
63 | .IP |
---|
64 | This will set jerome's print quota on the lp printer to a soft limit |
---|
65 | of 50 pages, and a hard limit of 60 pages. If either user jerome or |
---|
66 | printer lp doesn't exist on the Quota Storage Server then nothing is done. |
---|
67 | .IP |
---|
68 | \f(CW$ edpykota --add --printer lp -S 50 -H 60 jerome\fR |
---|
69 | .IP |
---|
70 | Same as above, but if either user jerome or printer lp doesn't exist |
---|
71 | on the Quota Storage Server they are automatically added. |
---|
72 | WARNING : the CUPS PPD file for this printer must still be modified |
---|
73 | .IP |
---|
74 | manually, as well as pykota's configuration file for a |
---|
75 | new printer to be managed successfully. |
---|
76 | .IP |
---|
77 | \f(CW$ edpykota -g -S 500 -H 550 financial support\fR |
---|
78 | .IP |
---|
79 | This will set print quota soft limit to 500 pages and hard limit |
---|
80 | to 550 pages for groups financial and support on all printers. |
---|
81 | .IP |
---|
82 | \f(CW$ edpykota --reset jerome "jo*"\fR |
---|
83 | .IP |
---|
84 | This will reset jerome's page counter to zero on all printers, as |
---|
85 | well as every user whose name begins with 'jo'. |
---|
86 | Their life time page counter on each printer will be kept unchanged. |
---|
87 | .PP |
---|
88 | This program is free software; you can redistribute it and/or modify |
---|
89 | it under the terms of the GNU General Public License as published by |
---|
90 | the Free Software Foundation; either version 2 of the License, or |
---|
91 | (at your option) any later version. |
---|
92 | .PP |
---|
93 | This program is distributed in the hope that it will be useful, |
---|
94 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
95 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
96 | GNU General Public License for more details. |
---|
97 | .PP |
---|
98 | You should have received a copy of the GNU General Public License |
---|
99 | along with this program; if not, write to the Free Software |
---|
100 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. |
---|
101 | .PP |
---|
102 | Please e-mail bugs to: Jerome Alet - alet@librelogiciel.com |
---|