diff --git a/scanners/system-configurations/4.71-ensure-nosuid-option-set-on-var-partition-Automated b/scanners/system-configurations/4.71-ensure-nosuid-option-set-on-var-partition-Automated new file mode 100644 index 0000000000000000000000000000000000000000..975cd3ae4f9e34c0ca1be90408c3bf9d71fbe323 --- /dev/null +++ b/scanners/system-configurations/4.71-ensure-nosuid-option-set-on-var-partition-Automated @@ -0,0 +1,6 @@ + +if [[ $(mount | grep "on /var " | grep -c "nosuid") -eq 1 ]]; then + echo "/var is mounted with nosuid option" +else + echo "/var is not mounted with nosuid option" +fi \ No newline at end of file