Just looking to find out how best to copy all of the tailored rules from one machine to another which are stored under /etc/asl/rules.
I've spent a bit of time tweaking email alert levels to ensure that only relevant ones are sent through on my hourly OSSEC report.
I have copied the file over and ran asl -s f, however they don't all seem to be loaded into the system.
Is there another command which would load this file in?
Copying /etc/asl/rules to another installation
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Copying /etc/asl/rules to another installation
Use: asl -s -f
And please note that the format of this file has changed from V3 to V4. If you are copying a V3 file over you may need to verify the changes through the rule manager to make sure it re-formats the file in the correct layout.
And please note that the format of this file has changed from V3 to V4. If you are copying a V3 file over you may need to verify the changes through the rule manager to make sure it re-formats the file in the correct layout.
Re: Copying /etc/asl/rules to another installation
Thanks - that must have been it, a couple of older ones weren't integrated.