1 /* 2 * Copyright (c) 1996-2003 Michael T Pins. All rights reserved. 3 */ 4 5 /* 6 * Accumulated accounting information is saved in the file $LIB/acct. 7 * If ACCTLOG is defined, a sequential log is maintained in $LIB/acctlog. 8 * 9 * You can define a COST_PER_MINUTE and a COST_UNIT to make 10 * the user get a cost calculation (maybe just for the fun of it - 11 * you can't imagine how expensive it is to read news here :-). 12 * 13 * The COST_PER_MINUTE should be the price per minute multiplied 14 * by 100 (to allow prices like $0.03/minute). 15 * The definitions below corresponds to 1 dollar per minute. 16 * 17 * If COST_PER_MINUTE is not defined, a "Time used" rather than a 18 * "Cost" report is produced. 19 */ 20 21 /* #define ACCTLOG */ 22 23 /* #define COST_PER_MINUTE 100 *//* price(in UNITs)/min * 100 */ 24 /* #define COST_UNIT "dollars" *//* Currency */ 25 26 /* 27 * DEFAULT POLICY AND QUOTA FOR NEW USERS 28 * 29 * Notice that QUOTA is measued in hours. 30 * Both ACCOUNTING and AUTHORIZE must be defined for 31 * the quota mechanism to work. 32 * (See config.h) 33 */ 34 35 /* 36 * Don't change these. 37 */ 38 39 #define DENY_ACCESS 0 40 #define FREE_ACCOUNT 1 41 #define ALL_HOURS 2 42 #define OFF_HOURS 3 43 #define NO_POST 40 /* add if cannot post */ 44 45 /* 46 * Edit these to local needs. 47 */ 48 49 #define DEFAULT_POLICY ALL_HOURS /* all time w/accounting */ 50 #define DEFAULT_QUOTA 0 /* unlimited use */ 51