Multitech RF650VPN Manuel d'utilisateur Page 71

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 76
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 70
User’s Manual
71
ConsoleMessage "Starting system log"
if [ -f /etc/syslog.conf ]; then
if ! pid=$(GetPID syslog); then
rm -f /dev/log
syslogd
fi
else
echo "Warning: syslogd was not started"
fi
}
--
2. Add a parameter -u to the end of the line that starts the
daemon:
syslogd -u
3. Save the file.
4. We also want to configure the system logger to use a spe-
cific file for messages from the router. We'll assume that
the router has been configured to use facility local5.
Edit /etc/syslog.conf and add a line for the router:
# Router is using local5
local5.* /var/log/router.log
This says that all messages with facility local5 should be
logged in /var/log/router.log. (Note that the two portions of
the line in syslog must be separated by tabs. Don't put any
spaces between the two.)
5. Now restart the system logger:
root# /System/Library/StartupItems/SystemLog/SystemLog
restart
6. You should also be using a firewall to protect your server.
Open the Sharing Preference pane in System Preferences.
7. Click on the Firewall tab and click New... to add a new
rule.
Vue de la page 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76

Commentaires sur ces manuels

Pas de commentaire