How to Install Tacacs

Install Tacacs+

sudo nano /etc/apt/sources.list
tambahkan ke dalam source.list :
“deb lucid-backports main universe multiverse            restricted”

sudo apt-get update
sudo apt-get install tacacs+                        (install tacacs)
sudo cp /etc/tacacs+/tac_plus.conf /etc/tacacs+/tac_plus-orig.conf   (buat file tac_plus.conf yang baru)
sudo chmod 777 /etc/tacacs+/tac_plus.conf  (ubah file eksekusi tacacs)
ls -l /etc/tacacs+/

sudo nano /etc/tacacs+/tac_plus.conf
masukkan perintah ini :

accounting file = /var/log/tac_plus.acct
# key is what the device will use to connect to the tacacs+

# Change mykey myuser mypassword
key = mykey

user = myuser {
login = cleartext mypassword
member = staff

group = staff {
default service = permit
service = exec { priv-lvl = 15}

kemudian save dgn ctrl+x, Y, Enter

sudo /etc/init.d/tacacs_plus restart  (restart service tacacs)

akan muncul tampilan seperti ini :  * Restarting TACACS+ authentication daemon tacacs+  [ OK ]

netstat -pln | grep tac (cek service tacacs berjalan tidak)
jika berjalan akan muncul : tcp 0 0* LISTEN 9497/tac_plus


This entry was posted in Unix. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s