2017-11-09 15:45:42 +01:00
|
|
|
Cmnd_Alias SCL_CMD = /bin/grep ,\
|
|
|
|
/bin/zgrep,\
|
|
|
|
/bin/cat,\
|
|
|
|
/usr/bin/stat,\
|
|
|
|
/usr/bin/getent,\
|
|
|
|
/usr/bin/[,\
|
2019-02-15 16:45:03 +01:00
|
|
|
/usr/bin/test,\
|
2017-11-09 15:45:42 +01:00
|
|
|
/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 "",\
|
2020-12-23 10:46:51 +01:00
|
|
|
/bin/netstat,\
|
2021-04-27 13:31:59 +02:00
|
|
|
/usr/sbin/lsmod,\
|
|
|
|
/sbin/lsmod,\
|
|
|
|
/sbin/modprobe,\
|
|
|
|
/usr/sbin/modprobe -n -v*,\
|
2020-12-23 10:46:51 +01:00
|
|
|
/usr/sbin/apparmor_status
|
2017-11-09 15:45:42 +01:00
|
|
|
|
|
|
|
cisharden ALL = (root) NOPASSWD: SCL_CMD
|