marquk01@km-vm4:~$ cat /etc/tacacs+/tac_plus.conf # Created by Henry-Nicolas Tourneur(henry.nicolas@tourneur.be) # See man(5) tac_plus.conf for more details # Define where to log accounting data, this is the default. accounting file = /var/log/tac_plus.acct # This is the key that clients have to use to access Tacacs+ key = testing123 # We also can define local users and specify a file where data is stored. # That file may be filled using tac_pwd user = kmarquis { name = "Test User" member = admin login = des kBeC6JDjU8icY service = junos-exec { local-user-name = remote-admin } } user = test { name = "Test User" member = read-only login = des kBeC6JDjU8icY service = junos-exec { local-user-name = remote-read-only } } # We can also specify rules valid per group of users. group = admin { default service = permit service = exec { priv_lvl = 15 } } group = read-only { service = exec { priv-lvl = 15 } cmd = show { permit .* } cmd = write { permit term } cmd = dir { permit .* } cmd = admin { permit .* } cmd = terminal { permit .* } cmd = more { permit .* } cmd = exit { permit .* } cmd = logout { permit .* } } # Much more features are availables, like ACL, more service compatibilities, # commands authorization, scripting authorization. # See the man page for those features.