Commit 597a0718 authored by yogesh.m's avatar yogesh.m

Update rasbian_os.json

parent 73f4cb94
...@@ -2294,7 +2294,7 @@ ...@@ -2294,7 +2294,7 @@
"name": "Ensure no world writable files exist (Scored)", "name": "Ensure no world writable files exist (Scored)",
"scoring":"Scored", "scoring":"Scored",
"cmd": [ "cmd": [
{"input":"df --local -P | awk '{if (NR!=1) print $6}' | xargs -I '{}' find '{}' -xdev -type f -perm -0002","output":"","can_have_error":"","alternative": [{"al_cm": "No Alternative for This Command"},{"al_cm": "No Alternative for This Command"}],"exist_line":"No Alternative for This Command"} {"input":"sudo df --local -P | awk '{if (NR!=1) print $6}' | xargs -I '{}' find '{}' -xdev -type f -perm -0002","output":"","can_have_error":"","alternative": [{"al_cm": "No Alternative for This Command"},{"al_cm": "No Alternative for This Command"}],"exist_line":"No Alternative for This Command"}
], ],
"Remediation": [ "Remediation": [
{"desc": "Removing write access for the \"other\" category ( chmod o-w <filename> ) is advisable, but \nalways consult relevant vendor documentation to avoid breaking any application \ndependencies on a given file.","command": ""} {"desc": "Removing write access for the \"other\" category ( chmod o-w <filename> ) is advisable, but \nalways consult relevant vendor documentation to avoid breaking any application \ndependencies on a given file.","command": ""}
...@@ -2304,7 +2304,7 @@ ...@@ -2304,7 +2304,7 @@
"name": "Ensure no unowned files or directories exist (Scored)", "name": "Ensure no unowned files or directories exist (Scored)",
"scoring":"Scored", "scoring":"Scored",
"cmd": [ "cmd": [
{"input":"df --local -P | awk {'if (NR!=1) print $6'} | xargs -I '{}' find '{}' -xdev -nouser","output":"","can_have_error":"","alternative": [{"al_cm": "No Alternative for This Command"},{"al_cm": "No Alternative for This Command"}],"exist_line":"No Alternative for This Command"} {"input":"sudo \"df --local -P | awk {'if (NR!=1) print $6'} | xargs -I '{}' find '{}' -xdev -nouser\"","output":"\n","can_have_error":"","alternative": [{"al_cm": "No Alternative for This Command"},{"al_cm": "No Alternative for This Command"}],"exist_line":"No Alternative for This Command"}
], ],
"Remediation": [ "Remediation": [
{"desc": "Locate files that are owned by users or groups not listed in the system configuration files, \nand reset the ownership of these files to some active user on the system as appropriate","command": ""} {"desc": "Locate files that are owned by users or groups not listed in the system configuration files, \nand reset the ownership of these files to some active user on the system as appropriate","command": ""}
...@@ -2314,7 +2314,7 @@ ...@@ -2314,7 +2314,7 @@
"name": "Ensure no ungrouped files or directories exist (Scored)", "name": "Ensure no ungrouped files or directories exist (Scored)",
"scoring":"Scored", "scoring":"Scored",
"cmd": [ "cmd": [
{"input":"df --local -P | awk '{if (NR!=1) print $6}' | xargs -I '{}' find '{}' -xdev -nogroup","output":"","can_have_error":"","alternative": [{"al_cm": "No Alternative for This Command"},{"al_cm": "No Alternative for This Command"}],"exist_line":"No Alternative for This Command"} {"input":"sudo df --local -P | awk '{if (NR!=1) print $6}' | xargs -I '{}' find '{}' -xdev -nogroup","output":"","can_have_error":"","alternative": [{"al_cm": "No Alternative for This Command"},{"al_cm": "No Alternative for This Command"}],"exist_line":"No Alternative for This Command"}
], ],
"Remediation": [ "Remediation": [
{"desc": "Locate files that are owned by users or groups not listed in the system configuration files, \nand reset the ownership of these files to some active user on the system as appropriate.","command": ""} {"desc": "Locate files that are owned by users or groups not listed in the system configuration files, \nand reset the ownership of these files to some active user on the system as appropriate.","command": ""}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment