Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task 1.6.1 - Asterisk Missing #14

Open
Craconia opened this issue Oct 20, 2020 · 0 comments
Open

Task 1.6.1 - Asterisk Missing #14

Craconia opened this issue Oct 20, 2020 · 0 comments

Comments

@Craconia
Copy link

Hi. An asterisk is missing for the contents of /etc/security/limits.d/cis.conf.

CURRENTLY:

   - name: 1.6.1 Ensure core dumps are restricted (Scored) - create config core dump
      lineinfile:
        dest: /etc/security/limits.d/cis.conf
        line: "hard core 0"
        state: present
        owner: root
        group: root
        mode: 0644
        create: true                                                                                     
      when:
        - hard_core.rc != 0

CORRECT:

   - name: 1.6.1 Ensure core dumps are restricted (Scored) - create config core dump
      lineinfile:
        dest: /etc/security/limits.d/cis.conf
        line: "* hard core 0"
        state: present
        owner: root
        group: root
        mode: 0644
        create: true                                                                                     
      when:
        - hard_core.rc != 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant