File: rule.yml

package info (click to toggle)
scap-security-guide 0.1.78-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 114,600 kB
  • sloc: xml: 245,305; sh: 84,381; python: 33,093; makefile: 27
file content (30 lines) | stat: -rw-r--r-- 856 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
documentation_complete: true

title: 'Verify Permissions on the journal command'

description: |-
    Verify that the "journalctl" command has a permission set of "740" by
    using the following command:
    <pre>
     $ sudo find /usr/bin/journalctl -exec stat -c "%n %a" {} \;
    </pre>
    If "journalctl" is not set to "740", this is a finding.

rationale: |-
    Any operating system providing too much information in error messages risks
    compromising the data and security of the structure, and content of error messages
    needs to be carefully considered by the organization.

severity: medium

fixtext: |
    Configure "journalctl" to have a permission set of "740":
    <pre>
    $ sudo chmod 740 /usr/bin/journalctl
    </pre>

template:
    name: file_permissions
    vars:
        filepath: /usr/bin/journalctl
        filemode: '0740'