From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A895A1387B1 for ; Fri, 20 Dec 2013 13:56:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A2981E0AE8; Fri, 20 Dec 2013 13:56:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EF4DCE0AD4 for ; Fri, 20 Dec 2013 13:56:03 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AC9F933F64D for ; Fri, 20 Dec 2013 13:56:02 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 5EEF6E575A for ; Fri, 20 Dec 2013 13:56:01 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1387544825.117fc65c426f7342ca2f947f8f4a286be0f341aa.swift@gentoo> Subject: [gentoo-commits] proj/hardened-docs:master commit in: xml/SCAP/ X-VCS-Repository: proj/hardened-docs X-VCS-Files: xml/SCAP/gentoo-oval.xml xml/SCAP/gentoo-xccdf.xml X-VCS-Directories: xml/SCAP/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 117fc65c426f7342ca2f947f8f4a286be0f341aa X-VCS-Branch: master Date: Fri, 20 Dec 2013 13:56:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ea158ed3-eac2-4aee-81ac-03af489eb65e X-Archives-Hash: 4cae0db87dea199ddfefd83892795a70 commit: 117fc65c426f7342ca2f947f8f4a286be0f341aa Author: Sven Vermeulen siphos be> AuthorDate: Fri Dec 20 13:07:05 2013 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Fri Dec 20 13:07:05 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-docs.git;a=commit;h=117fc65c 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 + +