From 1d28e3d21395266eba3ee98d41afd9c9517a7f7a Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Wed, 26 Feb 2014 13:23:42 -0300 Subject: [PATCH] boxes scripts: give real total sudo access Without this, commands like `sudo -u $USER $COMMAND` will not work. --- boxes/build-openmandriva-box.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boxes/build-openmandriva-box.sh b/boxes/build-openmandriva-box.sh index 1e091f0..332aba7 100644 --- a/boxes/build-openmandriva-box.sh +++ b/boxes/build-openmandriva-box.sh @@ -92,7 +92,7 @@ sed -i 's/Defaults requiretty/\# Defaults requiretty/' ${ROOTFS}/etc/sudoers sed -i 's/\#%wheel/\%wheel/' ${ROOTFS}/etc/sudoers sed -i 's/\# %wheel/\%wheel/' ${ROOTFS}/etc/sudoers # sed -i -e \ -# 's/%sudo\s\+ALL=(ALL\(:ALL\)\?)\s\+ALL/%sudo ALL=NOPASSWD:ALL/g' \ +# 's/%sudo\s\+ALL=(ALL\(:ALL\)\?)\s\+ALL/%sudo ALL=(ALL) NOPASSWD:ALL/g' \ # ${ROOTFS}/etc/sudoers