forked from evolix/ansible-roles
proftpd: enforce permissions on password file
This commit is contained in:
parent
3e12be6a0c
commit
8e86429ea4
|
@ -38,6 +38,19 @@
|
|||
src: vpasswd
|
||||
dest: /etc/proftpd/vpasswd
|
||||
force: no
|
||||
mode: "0440"
|
||||
notify: restart proftpd
|
||||
tags:
|
||||
- proftpd
|
||||
|
||||
# Why 440? Because should be edited with ftpasswd.
|
||||
# So, readonly when opened with vim.
|
||||
# Then readable by group.
|
||||
- name: Enforce permissions on password file
|
||||
file:
|
||||
path: /etc/proftpd/vpasswd
|
||||
mode: "0440"
|
||||
owner: root
|
||||
group: root
|
||||
notify: restart proftpd
|
||||
tags:
|
||||
- proftpd
|
||||
|
|
Loading…
Reference in a new issue