From fc8a2b2561652b73c72f8ffc2bd592bcb2fdbeac Mon Sep 17 00:00:00 2001 From: Thibault Ayanides Date: Tue, 27 Apr 2021 13:31:59 +0200 Subject: [PATCH] FIX: add commands to sudoers (#91) --- cisharden.sudoers | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cisharden.sudoers b/cisharden.sudoers index 45991e8..5f35f5a 100644 --- a/cisharden.sudoers +++ b/cisharden.sudoers @@ -20,6 +20,10 @@ Cmnd_Alias SCL_CMD = /bin/grep ,\ /sbin/sysctl -a,\ /bin/dmesg "",\ /bin/netstat,\ + /usr/sbin/lsmod,\ + /sbin/lsmod,\ + /sbin/modprobe,\ + /usr/sbin/modprobe -n -v*,\ /usr/sbin/apparmor_status cisharden ALL = (root) NOPASSWD: SCL_CMD