forked from ansible-lockdown/RHEL9-CIS
Added a means to allow system users to have a shell
Signed-off-by: Jeffrey van Pelt <jeff@vanpelt.one>
This commit is contained in:
parent
3c75296d91
commit
28a35960d7
2 changed files with 6 additions and 0 deletions
|
|
@ -13,6 +13,7 @@
|
|||
- item.id != "shutdown"
|
||||
- item.id != "halt"
|
||||
- item.id != "nfsnobody"
|
||||
- item.id not in rhel9cis_system_users_shell
|
||||
- item.uid < min_int_uid | int
|
||||
- item.shell != "/bin/false"
|
||||
- item.shell != "/usr/sbin/nologin"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue