Skip to content

Commit

Permalink
Merge pull request #11716 from mildas/align_securetty_root_login_reme…
Browse files Browse the repository at this point in the history
…diation

Align `securetty_root_login_console_only` remediations with OVAL/rule description
  • Loading branch information
jan-cerny committed Mar 15, 2024
2 parents 844bd35 + 15191aa commit bcb090a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
- name: "Restrict Virtual Console Root Logins"
lineinfile:
dest: /etc/securetty
regexp: '^vc'
regexp: '^vc/[0-9]'
state: absent
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# platform = multi_platform_all
sed -i '/^vc\//d' /etc/securetty
sed -i '/^vc\/[0-9]/d' /etc/securetty

0 comments on commit bcb090a

Please sign in to comment.