From 47bb211cadbf2383c9e03f02858731e57ee3c4d9 Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Thu, 27 Oct 2011 11:29:43 -0700 Subject: [PATCH] need to chmod 440 for sudoers file --- stack.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/stack.sh b/stack.sh index b885e20..82cc157 100755 --- a/stack.sh +++ b/stack.sh @@ -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