Skip to content

Commit

Permalink
Don't create home for system accounts
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
oakey-b1 authored and Sebastian Gumprich committed Dec 23, 2017
1 parent c60cebf commit 941faa5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/user_accounts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@
name: '{{ item }}'
shell: '{{ os_nologin_shell_path }}'
password: '*'
createhome: False
with_flattened:
- '{{ sys_accs_cond | default([]) | difference(os_ignore_users) | list }}'

0 comments on commit 941faa5

Please sign in to comment.