mirror of
https://github.com/ovh/debian-cis.git
synced 2025-08-04 14:21:15 +02:00

- tftp_is_disabled -> 2.1.16 - network_services_listening -> 2.1.22 - use_time_sync -> 2.3.1.1 Update the existing script to check there is only one installed - chrony_is_enabled_and_running -> 2.3.3.3
32 lines
1.3 KiB
Plaintext
32 lines
1.3 KiB
Plaintext
Cmnd_Alias SCL_CMD = /bin/grep ,\
|
|
/bin/zgrep,\
|
|
/bin/cat,\
|
|
/usr/bin/stat,\
|
|
/usr/bin/getent,\
|
|
/usr/bin/[,\
|
|
/usr/bin/test,\
|
|
/bin/ls,\
|
|
/usr/bin/find,\
|
|
! /usr/bin/find *-exec*, \
|
|
! /usr/bin/find *-delete*,\
|
|
/usr/bin/apt-get update -y,\
|
|
/usr/bin/apt-get upgrade -s,\
|
|
/usr/bin/cut,\
|
|
/sbin/iptables -nL,\
|
|
/sbin/iptables -nL *,\
|
|
/sbin/sysctl net.*,\
|
|
/sbin/sysctl fs.*,\
|
|
/sbin/sysctl kernel.*,\
|
|
/sbin/sysctl -a,\
|
|
/bin/dmesg "",\
|
|
/bin/netstat,\
|
|
/usr/sbin/lsmod,\
|
|
/sbin/lsmod,\
|
|
/sbin/modprobe,\
|
|
/usr/sbin/modprobe -n -v*,\
|
|
/usr/sbin/apparmor_status,\
|
|
/usr/bin/ss *,\
|
|
/bin/ss *
|
|
|
|
cisharden ALL = (root) NOPASSWD: SCL_CMD
|