File: common.sh

package info (click to toggle)
scap-security-guide 0.1.65-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 71,936 kB
  • sloc: xml: 179,374; sh: 69,771; python: 23,819; makefile: 23
file content (6 lines) | stat: -rw-r--r-- 233 bytes parent folder | download
1
2
3
4
5
6
{{%- if product in ["fedora", "ol7", "ol8", "ol9", "rhel7", "rhel8", "rhel9", "sle12", "sle15", "ubuntu2004", "ubuntu2204"] %}}
perm_x="-F perm=x"
{{%- endif %}}

rm -f /etc/audit/rules.d/*.rules
truncate -s 0 /etc/audit/audit.rules