Release bumped to "gts4".
[tac_plus.git] / tac_plus.cfg
1 # Created by Devrim SERAL(devrim@tef.gazi.edu.tr)
2 # It's very simple configuration file
3 # Please read user_guide and tacacs+ FAQ to more information to do more
4 # complex tacacs+ configuration files.
5 #
6
7 key = put_you_key_here
8
9 # Use /etc/passwd file to do authentication
10
11 default authentication = file /etc/passwd
12
13 # Now tacacs+ also use default PAM authentication
14 #default authentication = pam pap
15
16 #If you like to use DB authentication
17 #default authentication = db "db_type://db_user:db_pass@db_hostname/db_name/db_table?name_field&pass_field
18 # db_type: mysql or null
19 # db_user: Database connect username
20 # db_pass: Database connection password
21 # db_hostname : Database hostname
22 # db_name : Database name
23 # db_table : authentication table name
24 # name_field and pass_field: Username and password field name at the db_table
25
26 # Accounting records log file
27
28 accounting file = /var/log/tac_acc.log
29
30 # Would you like to store accounting records in database..
31 # db_accounting = "db_type://db_user:db_pass@db_hostname/db_name/db_table"
32 # Same as above..
33
34 #All services are alowed..
35
36 user = DEFAULT {
37     service = ppp protocol = ip {}
38 }
39
40 # Yes we have more features like per host key
41 #host = 127.0.0.1 {
42 #        key = test
43 #        type = cisco
44 #}
45 #user = test {
46 #    name = Test User
47 #    pap = cleartext test
48 #    member = staff
49 #}
50 #
51 #group = staff {
52 #    time = "Wd1800-1817|!Wd1819-2000"
53 #}