Protect /etc/salt/grains
Make sure that the permissions of /etc/salt/grains only allow access for the root user.
This commit is contained in:
parent
36d082006b
commit
108f0e85bf
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ pillar_roots:
|
||||||
log_file: file:///dev/log
|
log_file: file:///dev/log
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
umask 077
|
||||||
cat >/etc/salt/grains <<EOF
|
cat >/etc/salt/grains <<EOF
|
||||||
roles:
|
roles:
|
||||||
- redis-server
|
- redis-server
|
||||||
|
|
Loading…
Reference in a new issue