Skip to content

Commit

Permalink
4Upstream: Adjusting strings used for user-shells conditionals
Browse files Browse the repository at this point in the history
Signed-off-by: Pruteanu <ionut.pruteanu@siemens.com>
Signed-off-by: z0042h2w <ionut.pruteanu@siemens.com>
  • Loading branch information
ipruteanu-sie committed Mar 26, 2024
1 parent a233ccc commit 1bf4058
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tasks/section_5/cis_5.6.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
- item.id != "halt"
- item.id != "nfsnobody"
- item.uid < min_int_uid | int
- item.shell != " /bin/false"
- item.shell != " /usr/sbin/nologin"
- item.shell != "/bin/false"
- item.shell != "/usr/sbin/nologin"
- item.shell != "/sbin/nologin"
loop_control:
label: "{{ item.id }}"

Expand All @@ -31,8 +32,9 @@
- item.id != "root"
- item.id != "nfsnobody"
- item.uid < min_int_uid | int
- item.shell != " /bin/false"
- item.shell != " /usr/sbin/nologin"
- item.shell != "/bin/false"
- item.shell != "/usr/sbin/nologin"
- item.shell != "/sbin/nologin"
loop_control:
label: "{{ item.id }}"
when:
Expand Down

0 comments on commit 1bf4058

Please sign in to comment.