mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-27 15:33:06 +00:00
4Upstream: Adjusting strings used for user-shells conditionals
Signed-off-by: Pruteanu <ionut.pruteanu@siemens.com>
This commit is contained in:
parent
504c553224
commit
f3be71b20b
1 changed files with 6 additions and 4 deletions
|
|
@ -14,8 +14,9 @@
|
||||||
- item.id != "halt"
|
- item.id != "halt"
|
||||||
- item.id != "nfsnobody"
|
- item.id != "nfsnobody"
|
||||||
- item.uid < min_int_uid | int
|
- item.uid < min_int_uid | int
|
||||||
- item.shell != " /bin/false"
|
- item.shell != "/bin/false"
|
||||||
- item.shell != " /usr/sbin/nologin"
|
- item.shell != "/usr/sbin/nologin"
|
||||||
|
- item.shell != "/sbin/nologin"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.id }}"
|
label: "{{ item.id }}"
|
||||||
|
|
||||||
|
|
@ -31,8 +32,9 @@
|
||||||
- item.id != "root"
|
- item.id != "root"
|
||||||
- item.id != "nfsnobody"
|
- item.id != "nfsnobody"
|
||||||
- item.uid < min_int_uid | int
|
- item.uid < min_int_uid | int
|
||||||
- item.shell != " /bin/false"
|
- item.shell != "/bin/false"
|
||||||
- item.shell != " /usr/sbin/nologin"
|
- item.shell != "/usr/sbin/nologin"
|
||||||
|
- item.shell != "/sbin/nologin"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.id }}"
|
label: "{{ item.id }}"
|
||||||
when:
|
when:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue