Skip to main content

I run a script, that modifies /var/log/security/var/log/security. If

If someone trytries to connect to my server sshvia ssh, this event writes into /var/log/security/var/log/security.(firewall_enable="YES", firewall_logging="YES" I have set firewall_enable="YES" and firewall_logging="YES" in /etc.rc.conf) The

The script finds and marks certain lines by adding to the end of the line some symbols (For example, symbol !! ). But

But after changing the file /var/log/security, ipfw/var/log/security ipfw events are not written to it any more. Only /etc/rc.d/syslogd restart/etc/rc.d/syslogd restart does help. What can I do?

I run script, that modifies /var/log/security. If someone try connect to my server ssh, this event writes into /var/log/security.(firewall_enable="YES", firewall_logging="YES") The script finds and marks certain lines by adding to the end of the line some symbols (For example, symbol ! ). But after changing the file /var/log/security, ipfw events are not written to it. Only /etc/rc.d/syslogd restart help. What can I do?

I run a script that modifies /var/log/security.

If someone tries to connect to my server via ssh, this event writes into /var/log/security.( I have set firewall_enable="YES" and firewall_logging="YES" in /etc.rc.conf)

The script finds and marks certain lines by adding to the end of the line some symbols (For example, symbol ! ).

But after changing the file /var/log/security ipfw events are not written to it any more. Only /etc/rc.d/syslogd restart does help. What can I do?

Source Link

Does not write logs into /var/log/security after I modified this file

I run script, that modifies /var/log/security. If someone try connect to my server ssh, this event writes into /var/log/security.(firewall_enable="YES", firewall_logging="YES") The script finds and marks certain lines by adding to the end of the line some symbols (For example, symbol ! ). But after changing the file /var/log/security, ipfw events are not written to it. Only /etc/rc.d/syslogd restart help. What can I do?