From 628adc667fc2ed61442efb31cefa19733100ffe2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Tue, 26 Jul 2016 19:10:52 -0300 Subject: Uncomment to allow members of group wheel to execute any command --- .../mate/root-image/root/.scriptsInstallation/language/en/install.sh | 3 +++ .../mate/root-image/root/.scriptsInstallation/language/es/install.sh | 3 +++ .../mate/root-image/root/.scriptsInstallation/language/gl/install.sh | 3 +++ .../mate/root-image/root/.scriptsInstallation/language/pt/install.sh | 3 +++ 4 files changed, 12 insertions(+) (limited to 'configs/mate/root-image/root') diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/en/install.sh b/configs/mate/root-image/root/.scriptsInstallation/language/en/install.sh index 8f0b06a..2fbd382 100755 --- a/configs/mate/root-image/root/.scriptsInstallation/language/en/install.sh +++ b/configs/mate/root-image/root/.scriptsInstallation/language/en/install.sh @@ -218,6 +218,9 @@ while [ option != 7 ]; do cp -a /etc/skel/ /mnt/etc/ cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png + #Uncomment to allow members of group wheel to execute any command + sed -i 's|[#] [%]wheel ALL=[(]ALL[)] ALL|%wheel ALL=(ALL) ALL|' /mnt/etc/sudoers + #Puts the XKBMAP, start X11 automatically and Mate desktop echo "setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2)" > /mnt/etc/skel/.xinitrc echo "exec mate-session" >> /mnt/etc/skel/.xinitrc diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/es/install.sh b/configs/mate/root-image/root/.scriptsInstallation/language/es/install.sh index 51079f8..274f087 100755 --- a/configs/mate/root-image/root/.scriptsInstallation/language/es/install.sh +++ b/configs/mate/root-image/root/.scriptsInstallation/language/es/install.sh @@ -220,6 +220,9 @@ while [ option != 7 ]; do cp -a /etc/skel/ /mnt/etc/ cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png + #Uncomment to allow members of group wheel to execute any command + sed -i 's|[#] [%]wheel ALL=[(]ALL[)] ALL|%wheel ALL=(ALL) ALL|' /mnt/etc/sudoers + #Puts the XKBMAP, start X11 automatically and Mate desktop echo "setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2)" > /mnt/etc/skel/.xinitrc echo "exec mate-session" >> /mnt/etc/skel/.xinitrc diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/gl/install.sh b/configs/mate/root-image/root/.scriptsInstallation/language/gl/install.sh index f199997..675ac98 100755 --- a/configs/mate/root-image/root/.scriptsInstallation/language/gl/install.sh +++ b/configs/mate/root-image/root/.scriptsInstallation/language/gl/install.sh @@ -220,6 +220,9 @@ while [ option != 7 ]; do cp -a /etc/skel/ /mnt/etc/ cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png + #Uncomment to allow members of group wheel to execute any command + sed -i 's|[#] [%]wheel ALL=[(]ALL[)] ALL|%wheel ALL=(ALL) ALL|' /mnt/etc/sudoers + #Puts the XKBMAP, start X11 automatically and Mate desktop echo "setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2)" > /mnt/etc/skel/.xinitrc echo "exec mate-session" >> /mnt/etc/skel/.xinitrc diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/pt/install.sh b/configs/mate/root-image/root/.scriptsInstallation/language/pt/install.sh index 9ca05ad..cc3da1a 100755 --- a/configs/mate/root-image/root/.scriptsInstallation/language/pt/install.sh +++ b/configs/mate/root-image/root/.scriptsInstallation/language/pt/install.sh @@ -220,6 +220,9 @@ while [ option != 7 ]; do cp -a /etc/skel/ /mnt/etc/ cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png + #Uncomment to allow members of group wheel to execute any command + sed -i 's|[#] [%]wheel ALL=[(]ALL[)] ALL|%wheel ALL=(ALL) ALL|' /mnt/etc/sudoers + #Puts the XKBMAP, start X11 automatically and Mate desktop echo "setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2)" > /mnt/etc/skel/.xinitrc echo "exec mate-session" >> /mnt/etc/skel/.xinitrc -- cgit v1.2.2