need to chmod 440 for sudoers file

This commit is contained in:
Jesse Andrews 2011-10-27 11:29:43 -07:00
parent 67a3a55f69
commit 47bb211cad

View file

@ -124,6 +124,7 @@ else
echo "#includedir /etc/sudoers.d" | sudo tee -a /etc/sudoers
sudo cp $FILES/sudo/nova /etc/sudoers.d/stack_sh_nova
sudo sed -e "s,%USER%,$USER,g" -i /etc/sudoers.d/stack_sh_nova
sudo chmod 0440 /etc/sudoers.d/stack_sh_nova
fi
# Set the destination directories for openstack projects