set umask in login.defs aswell
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e6096b608c
commit
91d6625115
@ -27,6 +27,14 @@
|
||||
- /etc/csh.cshrc
|
||||
- /etc/profile
|
||||
|
||||
- name: Set umask in /etc/login.defs
|
||||
lineinfile:
|
||||
path: /etc/login.defs
|
||||
regexp: '^(?P<umask>UMASK\s+).+'
|
||||
line: \g<umask>{{ users_global_umask }}
|
||||
backrefs: yes
|
||||
state: present
|
||||
|
||||
- name: Enforce minimum password lifetime
|
||||
lineinfile:
|
||||
path: /etc/login.defs
|
||||
|
Loading…
Reference in New Issue
Block a user