Skip to content

Commit

Permalink
#131 & #132 tmux regex fix
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Bolwell <[email protected]>
  • Loading branch information
uk-bolly committed Oct 26, 2022
1 parent 90bc308 commit 5bd7018
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/fix-cat2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
- name: "MEDIUM | RHEL-08-010100 | PATCH | RHEL 8, for certificate-based authentication, must enforce authorized access to the corresponding private key. | Create key pair"
openssh_keypair:
path: "{{ rhel8stig_path_to_sshkey }}/id_rsa"
when:
when:f
- rhel_08_010100
- rhel8stig_ssh_required
tags:
Expand Down Expand Up @@ -3216,7 +3216,7 @@
- name: "MEDIUM | RHEL-08-020040 | PATCH | RHEL 8 must enable a user session lock until that user re-establishes access using established identification and authentication procedures for command line sessions. | Configure tmux"
lineinfile:
path: /etc/tmux.conf
regexp: '^set \-g'
regexp: '^set -g lock-command'
line: "set -g lock-command vlock"
create: true
owner: root
Expand Down

0 comments on commit 5bd7018

Please sign in to comment.