SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

Tacacs+ 4.4

Author: Andrew Young (baram@rcn.com)
Date: 25.02.2003

License

        tac_plus is free software; you can redistribute it and/or modify
        it under the terms of the GNU General Public License as published
        by the Free Software Foundation; either v10 or (at your option)
        any later version.
Scope

This document describes how to setup tacacs+ with/without mysql and php.

Requirements

  1. tacacs_4.4.tgz -- This package is at http://www.networkforums.net
  2. tacacs_web_1.1.tgz -- This package is at http://www.networkforums.net
  3. MYSQL 3.23 -- This package is at http://www.mysql.com
  4. PHP 4.2.3 or above -- This package is at http://www.php.net
  5. Apache Web Server -- This package is at http://www.apache.org

** This source does not support all the features given in the web interface. ** Please use the pre-compiled binary because it supports all features given ** in the web interface. If you cannot find a pre-compiled binary for your ** system, please send fill out the form at http://www.networkforums.net and ** we will provide you a compiled version for your system within a week. ** You must be a registered to get to the form.

How to install tacacs+ for the first time?

  1. Unpack the tacacs+ package in any location # tar xzf tac_plus_v10_source.tgz
  2. Run the configuration script to create te Makefiles # cd tac_plus_v10 # ./configure **This is for no mysql support or # ./configure --with-db --with-mysql **This is for mysql support

    # make tac_plus

  3. Copy files in the appropriate place # cp tac_plus /usr/sbin # mkdir /etc/tacacs # cp tac_plus.cfg /etc/tacacs # cp tac_plus.init /etc/init.d/tac_plus # chmod +x /etc/init.d/tac_plus # ln -s /etc/init.d/tac_plus /etc/rc5.d/S99tac_plus
  4. If no DB support, please change configuration file (tac_plus.cfg) as specified in the users_guide.
  5. If using DB support, install MYSQL as the instructions given in the package.

    ** Run the following once MYSQL is installed. # mysql -u root -p < tac_plus.sql

    ** Edit configuration file # vi /etc/tac_plus.cfg

    ** Change key by replacing "put_your_key_here" with your key.

  6. Start tacacs+. # /etc/rc5.d/S99tac_plus start
  7. Done.

How upgrade tacacs+?

  1. Follow the first 2 instructions of the first time install.
  2. Copy files over the current. **Note: for linux, please stop the process # cp tac_plus <current location>
  3. If have DB support and database name is tacacs, # mysql -u root -p tacacs < tac_plus_upgrade.sql **Please enter password

** Note: This command will upgrade your current database to work with the new code.

# vi <current configuration file>

        ** remove "accounting file = db" and "default authentification = db"
        ** add "default db = mysql://tacacs:tac_plus@<host>/tacacs"
                where <host> is the database server name or IP.
        ** save the new configuration.
4) If have DB support and database name is not tacacs,
        ** dump the database
   # mysqldump -u root -p <dbname> > /tmp/<dbname>.sql
        ** edit the file and add:
                create database tacacs;
                use tacacs;
           before the first "CREATE TABLE". Save the changes.
   # mysql -u root -p < /tmp/<dbname>.sql
        ** goto step 3.

5) restart tac_plus process.
6) Done.

How to add tacacs+ web administration?

  1. Install Apache and PHP as specified in the their documentations.
  2. Copy tacacs_web.tgz to Apache doc root (default in linux is /var/www/html).
  3. Unpack file. # tar xzf tacacs_web.tgz
  4. Remove current index.html # rm index.html
  5. Connect to web server via browser.
  6. If web page comes up, use userid admin and password system. **Please change password asap. This ID have the maximum administrative priviledge **
  7. If does not come up, please refer to the documentations of Apache and PHP.
  8. Done.


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.