[PATCH 05/14] Created OCIL for user_umask_profile - Updated description test - Created OCIL
Shawn Wells
shawn at redhat.com
Wed Sep 19 15:53:18 UTC 2012
---
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
--3MwIy2ne0vdjdPXF--
More information about the scap-security-guide
mailing list