This FAQ on xtacacs is written by Vikas Aggarwal and is relevant mostly to the version of xtacacsd maintained at www.netplex-tech.com (also at ftp.navya.com). It does not attempt to be a complete faq on the protocol, just answers the commonly asked questions on my version of the software.
XTACACS is an extension to the TACACS protocol (developed by Cisco) which permits sending and authenticating SLIP/PPP requests, CHAP/ARAP authentication etc. also.
Primary Password file group ID
Logout reason
SLIP logout hostname
Transaction ID
kill -HUP `cat /etc/xtacacsd.pid` # flush out wtmp file
mv wtmp.ascii wtmp.`date+%m%y` # rename current file
tacupd -A -R -w wtmp.`date+%m%y` -u utmp > wtmp.ascii
kill -HUP `cat /etc/xtacacsd.pid`
Login-TTYnn
SlipOn-SLInn # when the user goes into SLIP mode
Logout-TTYnn # note this is AFTER SlipOn, and almost immediately
SlipOff-SLInn # when user logs off (disconnects)
If any of the corresponding entries for Login or Logoff is lost due to the server being down or due to heavy load, then an inaccurate entry is generated. In such cases, the way taclast accounts for the missing entry is as follows:
Login-A Logout-A Login-B Logout-B # normal
Login-A _ Login-B Logout-B # assume Logout-A just before Login-B
Login-A Logout-A _ Logout-B # assume Login-B right after Logout-A
The inaccurate entries are indicated along with the accurate data, so if the percentage of inaccurate entries is minor, it can be disregarded.
You can place the alternate password files in any separate directory. Since the xtacacsd daemon runs as root, you should set the permissions on the alternate password files to root readable only.