From 0b94bc0d9678f652d7c98efa296da9809cce5914 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sat, 18 Jan 2025 20:37:01 +0100 Subject: [PATCH] fileserver smb: set user shell explicit --- roles/mgrote_fileserver_smb/tasks/users.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/mgrote_fileserver_smb/tasks/users.yml b/roles/mgrote_fileserver_smb/tasks/users.yml index 1a9519a2..8c98ad41 100644 --- a/roles/mgrote_fileserver_smb/tasks/users.yml +++ b/roles/mgrote_fileserver_smb/tasks/users.yml @@ -13,6 +13,7 @@ state: "{{ item.state | default('present') }}" remove: "{{ item.remove_dir | default('false') }}" create_home: false + shell: /usr/sbin/nologin loop: "{{ smb_users }}" no_log: "{{ no_debug | default('true') }}" notify: set samba passwords