Skip to content

Commit 7a6a0bf

Browse files
author
Sebastian Gumprich
committed
test nologin absence
Signed-off-by: Sebastian Gumprich <sebastian.gumprich@t-systems.com>
1 parent 1cb9379 commit 7a6a0bf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

molecule/os_hardening/verify_tasks/pam_2.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
---
2+
- file:
3+
path: "{{ absent }}"
4+
state: absent
5+
loop:
6+
- "/run/nologin"
7+
28
- name: check successful login with correct password
39
shell:
410
cmd: "/usr/local/bin/pam-tester --user testuser --password {{ test_pw }}"

0 commit comments

Comments
 (0)