mirror of
https://github.com/ovh/debian-cis.git
synced 2025-07-15 21:32:17 +02:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
dd41988933 | |||
f6c6e6a0a8 |
@ -17,8 +17,9 @@ HARDENING_LEVEL=4
|
||||
# shellcheck disable=2034
|
||||
DESCRIPTION="Collect use of privileged commands."
|
||||
|
||||
SUDO_CMD='sudo -n'
|
||||
# Find all files with setuid or setgid set
|
||||
AUDIT_PARAMS=$(find / -xdev \( -perm -4000 -o -perm -2000 \) -type f |
|
||||
AUDIT_PARAMS=$($SUDO_CMD find / -xdev \( -perm -4000 -o -perm -2000 \) -type f |
|
||||
awk '{print "-a always,exit -F path=" $1 " -F perm=x -F auid>=1000 -F auid!=4294967295 -k privileged" }')
|
||||
FILE='/etc/audit/audit.rules'
|
||||
|
||||
|
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
cis-hardening (3.1-3) unstable; urgency=medium
|
||||
|
||||
* Fix 4.1.11 permissions
|
||||
|
||||
-- Thibault Ayanides <thibault.ayanides@ovhcloud.com> Mon, 12 Apr 2021 12:17:16 +0200
|
||||
|
||||
cis-hardening (3.1-2) unstable; urgency=medium
|
||||
|
||||
* Fix case for sshd pattern searching
|
||||
|
Reference in New Issue
Block a user