forked from mirrors/linux-bench
fix + not needing to be escaped in posix regex
This commit is contained in:
parent
ce039756a6
commit
a936791cd0
1 changed files with 4 additions and 4 deletions
|
@ -5517,7 +5517,7 @@ groups:
|
|||
test_items:
|
||||
- flag: |
|
||||
Chain OUTPUT (policy DROP 0 packets, 0 bytes)
|
||||
pkts bytes target prot opt in out source destination
|
||||
pkts bytes targ/etc/groupet prot opt in out source destination
|
||||
0 0 ACCEPT all -- * lo 0.0.0.0/0 0.0.0.0/0
|
||||
remediation: |
|
||||
Run the following commands to implement the loopback rules:
|
||||
|
@ -8268,7 +8268,7 @@ groups:
|
|||
|
||||
- id: 6.2.2
|
||||
description: 'Ensure no legacy "+" entries exist in /etc/passwd'
|
||||
audit: "grep '^\\+:' /etc/passwd"
|
||||
audit: "grep '^+:' /etc/passwd"
|
||||
tests:
|
||||
test_items:
|
||||
- flag: ""
|
||||
|
@ -8281,7 +8281,7 @@ groups:
|
|||
|
||||
- id: 6.2.3
|
||||
description: 'Ensure no legacy "+" entries exist in /etc/shadow'
|
||||
audit: "grep '^\\+:' /etc/shadow"
|
||||
audit: "grep '^+:' /etc/shadow"
|
||||
tests:
|
||||
test_items:
|
||||
- flag: ""
|
||||
|
@ -8294,7 +8294,7 @@ groups:
|
|||
|
||||
- id: 6.2.4
|
||||
description: 'Ensure no legacy "+" entries exist in /etc/group'
|
||||
audit: "grep '^\\+:' /etc/group"
|
||||
audit: "grep '^+:' /etc/group"
|
||||
tests:
|
||||
test_items:
|
||||
- flag: ""
|
||||
|
|
Loading…
Add table
Reference in a new issue