From 117fc65c426f7342ca2f947f8f4a286be0f341aa Mon Sep 17 00:00:00 2001 From: Sven Vermeulen Date: Fri, 20 Dec 2013 14:07:05 +0100 Subject: Add /var and /home quota mount options check --- xml/SCAP/gentoo-oval.xml | 58 +++++++++++++++++++++++++++++++++++++++++++++++ xml/SCAP/gentoo-xccdf.xml | 22 ++++++++++++++++++ 2 files changed, 80 insertions(+) diff --git a/xml/SCAP/gentoo-oval.xml b/xml/SCAP/gentoo-oval.xml index 693d59f..3fb4adb 100644 --- a/xml/SCAP/gentoo-oval.xml +++ b/xml/SCAP/gentoo-oval.xml @@ -427,6 +427,36 @@ + + + /var is mounted with quota option(s) + + Gentoo Linux + + + The /var mount should be mounted with usrquota or grpquota mount option. + + + + + + + + + + /home is mounted with quota option(s) + + Gentoo Linux + + + The /home mount should be mounted with usrquota or grpquota mount option. + + + + + + + @@ -632,6 +662,24 @@ + + + + + + + + + + + + + + @@ -719,6 +767,11 @@ /etc/at/at.allow + + /var + + @@ -753,6 +806,11 @@ su[[:digit:]]+:S:[\S]+:(/sbin/rc single|/sbin/sulogin) + + (usr|grp)quota + + + + @@ -949,6 +953,24 @@ mount -o remount,noexec /dev/shm + + The /var file system is mounted with usrquota or grpquota + Mount /var with usrquota and/or grpquota + +mount -o remount,usrquota,grpquota /var + + + + The /home file system is mounted with usrquota or grpquota + Mount /home with usrquota and/or grpquota + +mount -o remount,usrquota,grpquota /home + + -- cgit v1.2.3-65-gdbad