This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| technical:tacacs [2022/09/26 14:59] – jc | technical:tacacs [2022/10/03 08:43] (current) – jc | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ## Linux | ## Linux | ||
| ### Prerequisites | ### Prerequisites | ||
| - | Install FreeRADIUS | + | Install |
| ### Install | ### Install | ||
| - | Add TACACS | + | TACACS+ may either be installed using an RPM and a supported |
| - | * [TACACS Source](https:// | + | * [TACACS Source](https:// |
| * [TACACS RHEL 7 Repository](http:// | * [TACACS RHEL 7 Repository](http:// | ||
| Line 22: | Line 22: | ||
| gpgkey=http:// | gpgkey=http:// | ||
| ``` | ``` | ||
| - | #### Source | + | |
| + | ``` bash | ||
| + | sudo dnf update | ||
| + | sudo dnf install tac_plus | ||
| ``` | ``` | ||
| - | wget | + | #### Source |
| - | tar | + | ``` bash |
| - | cd | + | wget https:// |
| + | tar xzvf tacacs-F4.0.4.28.tar.gz | ||
| + | cd tacacs-F4.0.4.28 | ||
| + | ./configure | ||
| make | make | ||
| sudo make install | sudo make install | ||
| ``` | ``` | ||
| ### Configuration | ### Configuration | ||
| + | |||
| + | Generate passwd hash using `tac_pwd` | ||
| + | |||
| + | / | ||
| + | ``` | ||
| + | accounting file = / | ||
| + | key = <key> | ||
| + | |||
| + | acl = default { | ||
| + | permit = < | ||
| + | | ||
| + | user = < | ||
| + | name = < | ||
| + | member = < | ||
| + | login = des < | ||
| + | |||
| + | group = < | ||
| + | default service = permit | ||
| + | service = exec { | ||
| + | priv-lvl = 15 | ||
| + | } | ||
| + | } | ||
| + | ``` | ||
| + | |||
| ### Startup | ### Startup | ||
| + | |||
| + | ``` bash | ||
| + | sudo tac_plus -C / | ||
| + | ``` | ||
| + | |||
| ## Cisco | ## Cisco | ||
| __Server Profile__ | __Server Profile__ | ||
| Line 50: | Line 85: | ||
| __AAA Profile__ | __AAA Profile__ | ||
| ``` | ``` | ||
| + | aaa new-model | ||
| aaa authentication login default local | aaa authentication login default local | ||
| aaa authentication login < | aaa authentication login < | ||
| - | aaa authorization exec default | + | aaa authorization exec default |
| - | aaa authorization exec < | + | aaa authorization exec < |
| + | aaa authorization network default if-authenticated | ||
| aaa authorization commands 15 default local | aaa authorization commands 15 default local | ||
| aaa authorization commands 15 < | aaa authorization commands 15 < | ||