>From d508458035272c084bd1cabe008c1657eea8be26 Mon Sep 17 00:00:00 2001 From: Shawn Wells Date: Fri, 1 Mar 2013 23:06:21 -0500 Subject: [PATCH] [bugfix] ticket 274 - check content for umask in login.defs /etc/login.defs standard syntax has UMASK in uppercase, changing content to match. --- RHEL6/input/system/accounts/session.xml | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/RHEL6/input/system/accounts/session.xml b/RHEL6/input/system/accounts/session.xml index 4c99415..a5f5719 100644 --- a/RHEL6/input/system/accounts/session.xml +++ b/RHEL6/input/system/accounts/session.xml @@ -283,18 +283,18 @@ umask 077 Ensure the Default Umask is Set Correctly in login.defs To ensure the default umask controlled by /etc/login.defs is set properly, -add or correct the umask setting in /etc/login.defs to read as follows: -
umask 077
+add or correct the UMASK setting in /etc/login.defs 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 written to by unauthorized users. -Verify the umask setting is configured correctly in the /etc/login.defs file by +Verify the UMASK setting is configured correctly in the /etc/login.defs file by running the following command: -
# grep "umask" /etc/login.defs
+
# grep "UMASK" /etc/login.defs
All output must show the value of umask set to 077, as shown in the below: -
# grep "umask" /etc/login.defs
+
# grep "UMASK" /etc/login.defs
 umask 077
-- 1.7.1