/home/mario# cd
netstat -ltp | grep tac
ip address show
conf t
interface fastEthernet 0/0
ip address 192.168.1.200 255.255.255.0
no shutdown
end
nano /etc/tacacs+/ta_plus.conf
key = sistemas123
BAJATE Y CONFIGURA COMANDOS
group = administradores{
default service = permit
}
group = limitado{
default service = deny
cmd = show {
permit .*
}
cmd - enable{
permit .*
}
cmd = exit{
permit .*}
cmd = ping {
permit .*
}
}
/etc/init.d/tacacs_plus stop
nano /etc/tacacs+/tac_plus.conf
/etc/init.d/tacacs_pus start
nano /etc/tacacs+tac_plus.conf
user = mario{
login = cleartext mario
member = administradores
}
user = adolfo {
login = cleartext adolfo
member = limitados
}
No hay comentarios.:
Publicar un comentario