>From 8c59d800741d9e5f82a761f959c7da799f4c77de Mon Sep 17 00:00:00 2001 From: Shawn Wells 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 Ensure the Default Umask is Set Correctly in /etc/profile To ensure the default umask controlled by /etc/profile is set properly, -add or correct the line: +add or correct the umask setting in /etc/profile to read as follows:
umask 077
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. +Verify the umask setting is configured correctly in the /etc/profile file by +running the following command: +
# grep "umask" /etc/profile
+All output must show the value of umask set to 077, as shown in the below: +
# grep "umask" /etc/profile
+umask 077
+
-- 1.7.1