# $Header: /home/vikas/src/xtacacsd/RCS/tacacct-conf,v 1.2 1997/06/05 18:19:58 vikas Exp $
#
## Accounting file for XTACACS (tacacct).
#
#
## The following sections can be listed for accounting:
#	HOLIDAYS	(MM DD [YYYY])
#	WEEKENDS	(Sat Sun)
#	GMTOFFSETS	( +-HH or +-MMM or +-SSSS )
#	GROUP		(hour range and rates for each group)
#
## NOTE:
## The HOLIDAY rates are given the best preference, then WEEKENDS and
## finally the weekdays. Thus, if the usage is on Saturday Jan 1
## (and Jan 1 is a holiday), then the holiday rate will be applied.
#
#		RATES ARE  'PER HOUR'  RATES.
#

## You can specify the year if needed. No year indicates all years.
HOLIDAYS
 Jan 1
 Feb 29 2000
 Jul 4
 Dec 25
 Dec 31

## List Sun Mon Tue Wed Thu Fri Sat
WEEKENDS
 Sat
 Sun

## Write the GMT offsets of the various devices in hours or minutes.
GMTOFFSETS
  california_server	-8
  chicago_server	-6
  newyork_server	-5
  taiwan_server 	+12
  calcutta_server	+330	# 5hrs 30min = 330 minutes

#
# RATES FOR EACH GROUP
#
# These are the rates and hour-blocks for each GROUP. These GROUP numbes
# MUST correspond to the PRIMARY group (or the group number of the user
# in the tacacs password file) NOT an alternate group number of the user.
# This is the group number that is stored in the WTMP file as GIDxxx and
# used by 'tacacct'.

## NOTE:
## The HOLIDAY rates are given the best preference, then WEEKENDS and
## finally the weekdays. Thus, if the usage is on Saturday Jan 1

GROUP 110
# This group for the 9-5 office-goer-newly weds :)
# start-hour  Weekday-Rate  Weekend-Rate  Holiday-Rate
   9		1		0.7		0.5
   17		0.8		0.5		0.5

GROUP 120
# This group has a flat rate all day.
# start-hour  Weekday-Rate  Weekend-Rate  Holiday-Rate
   9		0.8		0.6		0.6

GROUP 130
# This group is a typical young office-goer
# start-hour  Weekday-Rate  Weekend-Rate  Holiday-Rate
   9		1		0.7		0.5
   17		0.8		0.5		0.5
   21		0.6		0.5		0.5
   23		0.6		0.3		0.5

GROUP DEFAULT
# This group is for all that dont match the above.
# start-hour  Weekday-Rate  Weekend-Rate  Holiday-Rate
   9		1		0.7		0.5
   17		0.8		0.5		0.5
   21		0.6		0.5		0.5
   23		0.6		0.3		0.5
