For others, consult the sponsors data on cscf.cs, by:
ssh
userinfo userid
Sponsored:
line that appears to
most closely reflect the role that the person is printing for.
Each Sponsored line is of the form
e.g.Sponsored: resource resource_name: account ...
Sponsored: printer ljp_cs: Admin(-1),Rkms002(10000)
which has two account names, Admin and Rkms002
If no line mentions printer
as the sponsored
resource, then arguably you should create such documentation
by adding sponsorship for printing in the appropriate sponsor's
file in the sponsors data database.
ssh
cd /software/lpr_quota/data/quotas
ls
to see a list of printers that are quota
controlled by this system.
lpquota_update_sucks -u userid -p printer -a account -q +cents +0
Where userid is the WatIAM userid of the person in question,
and account was determined above.
The correct quota increase should be specified in cents,
and the prepaid field must be specified as +0
.
For an unlimited quota, specify unlimited
rather than +cents
.
If direct access from other than the "standard" set of hosts is required
(print.cs:/software/lpr_quota/config/admin/hostname_groups/_mfcf can lead
to the list for the curious), then add the -h
option:
E.g.lpquota_update_sucks -u userid -p printer -a account -h hostname -q +cents +0
Rumour has it that Jennifer Keir always used edit_lpr_quotas instead. To be continued ...lpquota_update_sucks -u wlrush -p ljp_cs -a Admin -h scsmac29.cs -q unlimited +0
lpquota uwuserid
e.g.:
[97]% lpquota lfolland Printer Host User Account Free Prepaid lp_db mfcf-group lfolland CSCF600 NoLimit 0.00 lp_db turtledove.cscf lfolland CSCF604 NoLimit 0.00 lpc_db turtledove.cscf lfolland CSCF604 NoLimit 0.00 ps_mfcf mfcf-group lfolland - 0.00 0.00 ps_mfcf mfcf-group lfolland NonMath-CSCF NoLimit 0.00 lj_2062 -> ps_mfcf ljp_3016 -> ps_mfcf lp1_cm -> ps_mfcf lp1_mathgrad -> ps_mfcf lp1_statsgrad -> ps_mfcf lp2_statsgrad -> ps_mfcf ljp_cs mfcf-group lfolland CSCF600 NoLimit 0.00 ljp_cs clarke.cscf lfolland CSCF600 200.00 0.00 ljp_cs heinlein lfolland CSCF600 NoLimit 0.00 ljp_cs turtledove.cscf lfolland CSCF600 NoLimit 0.00 ljp_cs verne.cscf lfolland CSCF600 NoLimit 0.00 lp_cscf-private mfcf-group lfolland CSCF600 NoLimit 0 lj_2062 -> ljp_cs lj_cs -> ljp_cs lj_cs-1 -> ljp_cs lj_cs-2 -> ljp_cs lj_cs-special -> ljp_cs lj_csgrad -> ljp_cs lj_dc2305 -> ljp_cs lj_dc2319 -> ljp_cs lj_dc2326 -> ljp_cs lj_dc3624 -> ljp_cs lj_r2d2 -> ljp_cs lj_walter -> lp_cscf-private lp2_dc3507 -> ljp_cs lp7_cs -> ljp_cs
ssh print.cs
lpquota_update_sucks
# ssh print.cs (should work on any CS core machine) # tcsh (make sure that you have all the right paths) # lpquota imauser (check out their existing quota, if any, to see account used) # lpquota_update_sucks -u imauser -p ljp_cs -a cs8 -q +20000 +0If the path isn't set properly, try:
/.software/local/.admin/bins/maintenance/lpquota_update_sucks -u imauser -p ljp_cs -a cs8 -q +20000 +0For a PhD, the account is usually cs9 and the amount is $800.00 (80000)
Note that the account will be shown in lpquota output. For user lfolland above, the account would be CSCF600. ljp_cs is nearly always the correct printer; even if the requester mentions a different printer name, it probably uses the ljp_cs quota file, as lpquota output tries to indicate. |