Skip to main content

Konfigurasi Tacac-Plus.conf Menggunakan Database /etc/passwd

edit in tac_plus.conf (related with that).

key = "secret"

accounting file = /var/log/tac_accounting.log

# * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
# *                     USERS ADMIN                                  *
# * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

user = admin1{
        login = file /etc/passwd
        member = admin
        enable = file /etc/passwd
}


group = admin {
        default service = permit

        service = exec {
                priv-lvl = 15
                }
        cmd = show {
                permit .*
                }

        }

group = operator {
        default service = deny

        service = exec {
                priv-lvl = 14
                }

        cmd = show {
                permit .*
                }
        cmd = ping {
                permit .*
                }
        cmd     = traceroute {
                permit .*
                }
        #-------otherswitch--------#
        cmd     = configuration {
                permit show
                permit search
                }
        cmd     = port {
                permit show
                }
        cmd     = xcvr {
                permit show
                }
        cmd     = ring-protection {
                permit show
                }
        cmd     = flow {
                permit show
                permit find
                }
        cmd     = traffic-profiling {
                permit show
                }
        cmd     = chassis {
                permit show
                }
        cmd     = software {
                permit show
                }
        cmd     = license {
                permit show
                }
        cmd     = lldp {
                permit show
                }

        }

restart tacac command: sudo /etc/init.d/tacacs_plus restart


Popular posts from this blog

KONFIGURASI VPLS DENGAN MPLS LDP DI ROUTER MIKROTIK

REVIEW MPLS What is MPLS • MPLS stands for “Multi-Protocol Label Switching”. • MPLS is best summarized as a “Layer 2.5 networking protocol”. • MPLS combines layer 2 switching technology and layer 3 routing technology so that it becomes the best network solution in solving speed, scalability, QOS (Quality of Service), and traffic engineering problems.

Command Reference Raisecom OLT

Check onu status: show epon-onu information Check mac interface vlan: show pon mac-address-table l2-address interface epon-onu 1/1/14 Mac Address     Port                      VLAN  Flag ---------------------------------------------------- 9800.7457.ccd4  onu1/1/14                 713   Hit 9800.7457.ccd3  onu1/1/14                 46    Hit   Check illegal onu: show interface epon-olt illegal-onu

Konfigurasi IP Address Static Centos 7/8

  # static IP address on CentOS 7 or RHEL 7# HWADDR=00:08:A2:0A:BA:B8 TYPE=Ethernet BOOTPROTO=none # Server IP # IPADDR=192.168.2.203 # Subnet # PREFIX=24 # Set default gateway IP # GATEWAY=192.168.2.254 # Set dns servers # DNS1=192.168.2.254 DNS2=8.8.8.8 DNS3=8.8.4.4 DEFROUTE=yes IPV4_FAILURE_FATAL=no # Disable ipv6 # IPV6INIT=no NAME=eth0 # This is system specific and can be created using 'uuidgen eth0' command # UUID=41171a6f-bce1-44de-8a6e-cf5e782f8bd6 DEVICE=eth0 ONBOOT=yes