USRobotics NETServer/16 Uživatelský manuál Strana 255

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 284
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 254
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.
Zobrazit stránku 254
1 2 ... 250 251 252 253 254 255 256 257 258 259 260 ... 283 284

Komentáře k této Příručce

Žádné komentáře