Fix vagrant sudoers file permissions
This commit is contained in:
parent
3b1055c843
commit
4a18c7a05a
1 changed files with 1 additions and 1 deletions
|
@ -34,6 +34,6 @@ if [ -f ${ROOTFS}/etc/sudoers.d/vagrant ]; then
|
|||
else
|
||||
debug 'Sudoers file was not found'
|
||||
echo "vagrant ALL=(ALL) NOPASSWD:ALL" > ${ROOTFS}/etc/sudoers.d/vagrant
|
||||
chmod 0441 ${ROOTFS}/etc/sudoers.d/vagrant
|
||||
chmod 0440 ${ROOTFS}/etc/sudoers.d/vagrant
|
||||
log 'Sudoers file created.'
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue