Browse code

need to chmod 440 for sudoers file

Jesse Andrews authored on 2011/10/28 03:29:43
Showing 1 changed files
... ...
@@ -124,6 +124,7 @@ else
124 124
         echo "#includedir /etc/sudoers.d" | sudo tee -a /etc/sudoers
125 125
     sudo cp $FILES/sudo/nova /etc/sudoers.d/stack_sh_nova
126 126
     sudo sed -e "s,%USER%,$USER,g" -i /etc/sudoers.d/stack_sh_nova
127
+    sudo chmod 0440 /etc/sudoers.d/stack_sh_nova
127 128
 fi
128 129
 
129 130
 # Set the destination directories for openstack projects