Restrict mode of os-collect-config.conf
This file contains various access codes and shouldn't be world readable. Change-Id: I1dbd5c3780e42531580833f2f4e0332f18702282
This commit is contained in:
parent
29a5a1c82f
commit
113924d45b
|
@ -10,6 +10,7 @@ cat > /etc/os-collect-config.conf <<eof
|
|||
[DEFAULT]
|
||||
command=os-refresh-config
|
||||
eof
|
||||
chmod 600 /etc/os-collect-config.conf
|
||||
|
||||
if [ "$DIB_INIT_SYSTEM" == "upstart" ] ; then
|
||||
cat > /etc/init/os-collect-config.conf <<eof
|
||||
|
|
Loading…
Reference in New Issue