Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2019-09-14 14:20:26 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-09-14 14:20:26 +0300
commitd6324ee29ad5500c25e57a7059af6ae0d7ebf8a8 (patch)
tree6b88f2841d9dd0cdcba69861753d7891290fe092 /default.prf
parent60a76d64a3daa4c2375bfd08f833dd5fcf18f78b (diff)
Disabled shadow files in default profile as each Linux distribution has its own default
Diffstat (limited to 'default.prf')
-rw-r--r--default.prf11
1 files changed, 7 insertions, 4 deletions
diff --git a/default.prf b/default.prf
index 0c172b4a..f59e50c2 100644
--- a/default.prf
+++ b/default.prf
@@ -293,8 +293,6 @@ permfile=/etc/cron.deny:rw-------:root:-:WARN:
permfile=/etc/crontab:rw-------:root:-:WARN:
permfile=/etc/group:rw-r--r--:root:-:WARN:
permfile=/etc/group-:rw-r--r--:root:-:WARN:
-permfile=/etc/gshadow:---------:root:-:WARN:
-permfile=/etc/gshadow-:---------:root:-:WARN:
permfile=/etc/hosts.allow:rw-r--r--:root:root:WARN:
permfile=/etc/hosts.deny:rw-r--r--:root:root:WARN:
permfile=/etc/issue:rw-r--r--:root:root:WARN:
@@ -303,10 +301,15 @@ permfile=/etc/lilo.conf:rw-------:root:-:WARN:
permfile=/etc/motd:rw-r--r--:root:root:WARN:
permfile=/etc/passwd:rw-r--r--:root:-:WARN:
permfile=/etc/passwd-:rw-r--r--:root:-:WARN:
-permfile=/etc/shadow:---------:root:-:WARN:
-permfile=/etc/shadow-:---------:root:-:WARN:
permfile=/etc/ssh/sshd_config:rw-------:root:-:WARN:
+# These permissions differ by OS
+#permfile=/etc/gshadow:---------:root:-:WARN:
+#permfile=/etc/gshadow-:---------:root:-:WARN:
+#permfile=/etc/shadow:---------:root:-:WARN:
+#permfile=/etc/shadow-:---------:root:-:WARN:
+
+
#################################################################################
#
# permdir