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 194F21387B3 for ; Fri, 20 Dec 2013 13:56:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 01199E0AED; Fri, 20 Dec 2013 13:56:05 +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 36ACAE0AEC for ; Fri, 20 Dec 2013 13:56:04 +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 D81DD33F66B 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 88426E579A 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: <1387546356.690de9d64b0e276bd79bc0201bd6659d63ffdf5a.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: 690de9d64b0e276bd79bc0201bd6659d63ffdf5a 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: f963df2c-3a2b-4333-b959-f0ac94791174 X-Archives-Hash: a963b145906d2b3aadc83392eee3dad5 commit: 690de9d64b0e276bd79bc0201bd6659d63ffdf5a Author: Sven Vermeulen siphos be> AuthorDate: Fri Dec 20 13:32:36 2013 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Fri Dec 20 13:32:36 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-docs.git;a=commit;h=690de9d6 Add test for global USE flag declarations (ssl, tcpd, pam) --- xml/SCAP/gentoo-oval.xml | 94 +++++++++++++++++++++++++++++++++++++++++++++++ xml/SCAP/gentoo-xccdf.xml | 33 +++++++++++++++++ 2 files changed, 127 insertions(+) diff --git a/xml/SCAP/gentoo-oval.xml b/xml/SCAP/gentoo-oval.xml index 3fb4adb..8e64c26 100644 --- a/xml/SCAP/gentoo-oval.xml +++ b/xml/SCAP/gentoo-oval.xml @@ -457,6 +457,51 @@ + + + In make.conf 'pam' is declared as a global USE flag + + Gentoo Linux + + + The USE declaration in make.conf should have 'pam' set as a global USE flag. + + + + + + + + + + In make.conf 'tcpd' is declared as a global USE flag + + Gentoo Linux + + + The USE declaration in make.conf should have 'tcpd' set as a global USE flag. + + + + + + + + + + In make.conf 'ssl' is declared as a global USE flag + + Gentoo Linux + + + The USE declaration in make.conf should have 'ssl' set as a global USE flag. + + + + + + + @@ -680,6 +725,33 @@ + + + + + + + + + + + + + + + + + + + + + @@ -772,6 +844,13 @@ /var + + /etc/portage/make.conf + ^USE=.* + 1 + + @@ -811,6 +890,21 @@ (usr|grp)quota + + ( |")pam( |") + + + + ( |")tcpd( |") + + + + ( |")ssl( |") + + + + Default server setup settings @@ -1271,6 +1277,33 @@ sed -i -e 's:^rc_shell=.*:rc_shell="/sbin/sulogin":g' /etc/rc.conf USE="... pam tcpd ssl" + + USE="pam" is set + + Edit /etc/portage/make.conf and make sure that 'pam' is in the USE declaration + + + + + + + USE="tcpd" is set + + Edit /etc/portage/make.conf and make sure that 'tcpd' is in the USE declaration + + + + + + + USE="ssl" is set + + Edit /etc/portage/make.conf and make sure that 'ssl' is in the USE declaration + + + + + Fetching signed portage tree