You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.4 KiB

  1. #
  2. # An example tac_plus configuration. You should change this
  3. # before using it.
  4. #
  5. # Define where to log accounting data, this is the default.
  6. accounting file = /var/log/tac_plus.acct
  7. # This is the key that clients have to use to access Tacacs+
  8. key = testing123
  9. # Use /etc/passwd file to do authentication
  10. #default authentication = file /etc/passwd
  11. # You can use feature like per host key with different enable passwords
  12. #host = 127.0.0.1 {
  13. # key = test
  14. # type = cisco
  15. # enable = <des|cleartext> enablepass
  16. # prompt = "Welcome XXX ISP Access Router \n\nUsername:"
  17. #}
  18. # We also can define local users and specify a file where data is stored.
  19. # That file may be filled using tac_pwd
  20. #user = test1 {
  21. # name = "Test User"
  22. # member = staff
  23. # login = file /etc/tacacs/tacacs_passwords
  24. #}
  25. # We can also specify rules valid per group of users.
  26. #group = group1 {
  27. # cmd = conf {
  28. # deny
  29. # }
  30. #}
  31. # Another example : forbid configure command for some hosts
  32. # for a define range of clients
  33. #group = group1 {
  34. # login = file /etc/passwd
  35. # service = ppp
  36. # protocol = ip {
  37. # addr = 10.10.0.0/24
  38. # }
  39. # cmd = conf {
  40. # deny .*
  41. # }
  42. #}
  43. user = DEFAULT {
  44. login = file /etc/passwd
  45. service = ppp protocol = ip {}
  46. }
  47. # Much more features are availables, like ACL, more service compatibilities,
  48. # commands authorization, scripting authorization.
  49. # See the man page for those features.