>From 894ac4ec447c8d679b23bc560772db47042e0ecc Mon Sep 17 00:00:00 2001 From: Shawn Wells Date: Wed, 19 Sep 2012 11:49:13 -0400 Subject: [PATCH 04/14] Created OCIL for user_umask_cshrc - Updated description to increase readability - Created OCIL text --- 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 a038a8f..4f8804c 100644 --- a/RHEL6/input/system/accounts/session.xml +++ b/RHEL6/input/system/accounts/session.xml @@ -216,12 +216,19 @@ umask 077 Ensure the Default C Shell Umask is Set Correctly To ensure the default umask for users of the C shell is set properly, -add or correct in /etc/csh.cshrc the line: +add or correct the umask setting in /etc/csh.cshrc 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/csh.cshrc file by +running the following command: +
# grep "umask" /etc/csh.cshrc
+All output must show the value of umask set to 077, as shown in the below: +
# grep "umask" /etc/csh.cshrc
+umask 077
+
-- 1.7.1