mirror of
https://github.com/ovh/debian-cis.git
synced 2024-12-24 23:15:23 +01:00
26 lines
1.0 KiB
Plaintext
26 lines
1.0 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/apparmor_status
|
|
|
|
cisharden ALL = (root) NOPASSWD: SCL_CMD
|