need to chmod 440 for sudoers file
This commit is contained in:
parent
67a3a55f69
commit
47bb211cad
1 changed files with 1 additions and 0 deletions
1
stack.sh
1
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
|
||||
|
|
Loading…
Reference in a new issue