From 4a18c7a05af6b136c94da2770cec5ddb32334d5c Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Sun, 9 Mar 2014 03:50:33 -0300 Subject: [PATCH] Fix vagrant sudoers file permissions --- boxes/common/prepare-vagrant-user.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boxes/common/prepare-vagrant-user.sh b/boxes/common/prepare-vagrant-user.sh index 08ec17b..5f68f47 100755 --- a/boxes/common/prepare-vagrant-user.sh +++ b/boxes/common/prepare-vagrant-user.sh @@ -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