>From 8c59d800741d9e5f82a761f959c7da799f4c77de Mon Sep 17 00:00:00 2001
From: Shawn Wells <sh...@redhat.com>
Date: Wed, 19 Sep 2012 11:53:18 -0400
Subject: [PATCH 05/14] Created OCIL for user_umask_profile
 - Updated description test
 - Created OCIL

---
 RHEL6/input/system/accounts/session.xml |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/RHEL6/input/system/accounts/session.xml 
b/RHEL6/input/system/accounts/session.xml
index 4f8804c..9062ad5 100644
--- a/RHEL6/input/system/accounts/session.xml
+++ b/RHEL6/input/system/accounts/session.xml
@@ -239,13 +239,20 @@ umask 077</pre>
 <title>Ensure the Default Umask is Set Correctly in /etc/profile</title>
 <description>
 To ensure the default umask controlled by <tt>/etc/profile</tt> is set 
properly,
-add or correct the line:
+add or correct the <tt>umask</tt> setting in <tt>/etc/profile</tt> to read as 
follows:
 <pre>umask 077<!--<sub idref="umask_user_value" /> --></pre>
 </description>
 <rationale>The umask value influences the permissions assigned to files when 
they are created.
 A misconfigured umask value could result in files with excessive permissions 
that can be read and/or
 written to by unauthorized users.</rationale>
 <ident cce="14847-8" />
+<ocil>Verify the <tt>umask</tt> setting is configured correctly in the 
<tt>/etc/profile</tt> file by
+running the following command:
+<pre># grep "umask" /etc/profile</pre>
+All output must show the value of <tt>umask</tt> set to 077, as shown in the 
below:
+<pre># grep "umask" /etc/profile
+umask 077</pre>
+</ocil>
 <oval id="accounts_umask_etc_profile" value="umask_user_value" />
 <ref nist="CM-6, CM-7"/>
 </Rule>
-- 
1.7.1

_______________________________________________
scap-security-guide mailing list
scap-security-guide@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide

Reply via email to