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 CB38D1387FD for ; Sun, 30 Mar 2014 18:29:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 534DAE0AC0; Sun, 30 Mar 2014 18:29:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BAF18E0AC0 for ; Sun, 30 Mar 2014 18:29:41 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BDEF733FBFB for ; Sun, 30 Mar 2014 18:29:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 66D46188F3 for ; Sun, 30 Mar 2014 18:29:39 +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: <1396204167.e85228a786ea2041715e8e2193d93411261f1950.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: e85228a786ea2041715e8e2193d93411261f1950 X-VCS-Branch: master Date: Sun, 30 Mar 2014 18:29:39 +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: d563dfa5-6ea2-434d-b5ed-095a43415831 X-Archives-Hash: a3e747050cd8072ac020291436819818 commit: e85228a786ea2041715e8e2193d93411261f1950 Author: Sven Vermeulen siphos be> AuthorDate: Sun Mar 30 18:29:27 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sun Mar 30 18:29:27 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-docs.git;a=commit;h=e85228a7 Check grub.conf with password md5 hash --- xml/SCAP/gentoo-oval.xml | 62 +++++++++++++++++++++++++++++++++++++++++++++++ xml/SCAP/gentoo-xccdf.xml | 11 +++++++++ 2 files changed, 73 insertions(+) diff --git a/xml/SCAP/gentoo-oval.xml b/xml/SCAP/gentoo-oval.xml index 7f6e674..f873701 100644 --- a/xml/SCAP/gentoo-oval.xml +++ b/xml/SCAP/gentoo-oval.xml @@ -562,6 +562,25 @@ + + + /boot/grub/grub.conf has a password set + + Gentoo Linux + + + If /boot/grub/grub.conf exists, then it must have a password set. + + + + + + + + + + + @@ -848,6 +867,27 @@ + + + + + + + + + + + + + + + @@ -974,6 +1014,23 @@ /proc + + /boot/grub/grub.conf + + + + /boot/grub/grub.conf + ^([^#\n]*)(?#.*)?$ + 1 + + + + /boot/grub + + @@ -1048,6 +1105,11 @@ hidepid=[12] + + [\s]*password --md5 [\S]+ + + diff --git a/xml/SCAP/gentoo-xccdf.xml b/xml/SCAP/gentoo-xccdf.xml index 3c3afcd..732bde3 100644 --- a/xml/SCAP/gentoo-xccdf.xml +++ b/xml/SCAP/gentoo-xccdf.xml @@ -103,6 +103,8 @@ + +