Security Workshop: Tacacs Lab
Security Workshop: Tacacs Lab
Tacacs lab
1. we want to set the password for routers who want to use our service to
TacacsPassword
2. We also want to limit access for users based on groups. For this example
we will use settings in tac_plus.conf
# change this line
key = TacacsPassword
# ... then at the end of the file .... add:
group = netops {
default service = permit
login = file /etc/passwd
enable = file /etc/passwd
service = exec {
priv-lvl = 15
}
}
#
# "level 2" users who cannot "debug" or "config"
#
group = l2_tacacs_users {
default service = permit
login = file /etc/passwd
enable = file /etc/passwd
service = exec {
priv-lvl = 15
}
cmd = configure {
deny "."
}
cmd = debug {
deny "."
}
}
2
user = sysadm {
member = netops
}
1.0.2
2
aaa
aaa
aaa
aaa
aaa
Router#show accounting