>From a8f8f56d6e2b73b68c4e3fc7220186460d526cff Mon Sep 17 00:00:00 2001 From: Michael McConachie Date: Wed, 26 Sep 2012 13:52:42 -0400 Subject: [PATCH 4/4] OCIL clause changes for input/system/permissions/files.xml --- RHEL6/input/system/permissions/files.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/RHEL6/input/system/permissions/files.xml b/RHEL6/input/system/permissions/files.xml index 59f0a3a..0623089 100644 --- a/RHEL6/input/system/permissions/files.xml +++ b/RHEL6/input/system/permissions/files.xml @@ -186,7 +186,7 @@ Kernel modules, which can be added to the kernel during runtime, are stored in /lib/modules. All files in these directories should not be group-writable or world-writable. - + To find shared libraries that are group-writable or world-writable, run the following command for each directory DIR which contains shared libraries:
$ find DIR -perm /022
@@ -211,7 +211,7 @@ Kernel modules, which can be added to the kernel during runtime, are also stored in /lib/modules. All files in these directories should be owned by the root user. - + To find shared libraries that are not owned by root, run the following command for each directory DIR which contains shared libraries:
$ find DIR \! -user root
@@ -235,7 +235,7 @@ System executables are stored in the following directories by default: /usr/local/sbin All files in these directories should not be group-writable or world-writable. - + To find system executables that are group-writable or world-writable, run the following command for each directory DIR which contains system executables:
$ find DIR -perm /022
@@ -258,7 +258,7 @@ System executables are stored in the following directories by default: /usr/local/sbin All files in these directories should be owned by the root user. - + To find system executables that are not owned by root, run the following command for each directory DIR which contains system executables:
$ find DIR \! -user root
@@ -289,7 +289,7 @@ To set the sticky bit on a world-writable directory DIR, run the following command:
# chmod +t DIR
- + To find world-writable directories that lack the sticky bit, run the following command:
# find / -type d -perm -002 ! -perm -1000
-- 1.7.11.4