mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
8 lines
226 B
Bash
Executable file
8 lines
226 B
Bash
Executable file
#!/bin/bash
|
|
|
|
cp /etc/security/audit_control ./tmp.txt;
|
|
origFlags=$(cat ./tmp.txt | grep flags: | grep -v naflags);
|
|
sed "s/${origFlags}/flags:-fm,ad,-ex,aa,-fr,lo,-fw/" ./tmp.txt > /etc/security/audit_control;
|
|
rm ./tmp.txt;
|
|
|
|
|