115 | | TODO... |
| 115 | $ pkusers --add -p jerome john paul george ringo/ringo@example.com |
| 116 | |
| 117 | This will add users john, paul, george and ringo to the quota |
| 118 | database, and set their account information based on user |
| 119 | jerome's own account. User jerome must already exist. |
| 120 | User ringo's email address will also be set to 'ringo@example.com' |
| 121 | |
| 122 | $ pkusers --ingroups coders,it jerome |
| 123 | |
| 124 | User jerome is put into the groups "coders" and "it" which must |
| 125 | already exist in the quota database. |
| 126 | |
| 127 | $ pkusers --limitby balance jerome |
| 128 | |
| 129 | This will tell PyKota to limit jerome by his account's balance |
| 130 | when printing. |
| 131 | |
| 132 | $ pkusers --balance +10.0 jerome |
| 133 | |
| 134 | This will increase jerome's account balance by 10.0 (in your |
| 135 | own currency). You can decrease the account balance with a |
| 136 | dash prefix, and set it to a fixed amount with no prefix. |
| 137 | |
| 138 | $ pkusers --delete jerome rachel |
| 139 | |
| 140 | This will completely delete jerome and rachel from the quota |
| 141 | database. All their quotas and jobs will be deleted too. |
| 142 | |
| 143 | $ pkusers --overcharge 2.5 poorstudent |
| 144 | |
| 145 | This will overcharge the poorstudent user by a factor of 2.5. |
| 146 | |
| 147 | $ pkusers --overcharge -1 jerome |
| 148 | |
| 149 | User jerome will actually earn money whenever he prints. |
| 150 | |
| 151 | $ pkusers --overcharge 0 boss |
| 152 | |
| 153 | User boss can print at will, it won't cost him anything because the |
| 154 | cost of each print job will be multiplied by zero before charging |
| 155 | his account. |