Syslog Accounting E-1
Appendix E
Syslog Accounting
This appendix includes information on UNIX syslog network
accounting and samples of system messages.
Important: You must have the NETServer entered in the
\etc\hosts file of the UNIX server that is running Syslog. With-
out this, you will be unable to use Syslog network accounting
with the NETServer.
Using Syslog
To log connections and disconnections via syslog to the auth
facility at priority info (auth.info), on your NETServer set
loghost to the IP address or hostname of a UNIX host running
syslogd. On that host edit /etc/syslog.conf as root and add the
following line:
auth.info /var/log/authlog
Then run the following commands as root (note that the ‘ is a
backtick):
touch /var/log/authlog
chmod 700 /var/log/authlog
kill -HUP ‘cat /etc/syslog.pid‘
Note that you don’t have to log to a separate file, but it can be
convenient.