Skip to content

Commit e6f534c

Browse files
committed
Don't create home for system accounts
Fixes users `irc` and `systemd-resolve` being changed after reboot, as their home directory is in `/run`. Won't create `/home/{syslog,ntp}` any longer (Ubuntu).
1 parent bf6cb73 commit e6f534c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tasks/user_accounts.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@
4040
name: '{{ item }}'
4141
shell: '{{ os_nologin_shell_path }}'
4242
password: '*'
43+
createhome: False
4344
with_flattened:
4445
- '{{ sys_accs_cond | default([]) | difference(os_ignore_users) | list }}'

0 commit comments

Comments
 (0)