summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-07-26 19:10:52 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-07-26 19:10:52 -0300
commit628adc667fc2ed61442efb31cefa19733100ffe2 (patch)
tree5b6fa7562676616e89ddb1b76fdec13507225f59
parent32ac1aa01ad5a513c51c5d2b4908d98d10c0d47d (diff)
Uncomment to allow members of group wheel to execute any command
-rwxr-xr-xconfigs/mate/root-image/root/.scriptsInstallation/language/en/install.sh3
-rwxr-xr-xconfigs/mate/root-image/root/.scriptsInstallation/language/es/install.sh3
-rwxr-xr-xconfigs/mate/root-image/root/.scriptsInstallation/language/gl/install.sh3
-rwxr-xr-xconfigs/mate/root-image/root/.scriptsInstallation/language/pt/install.sh3
4 files changed, 12 insertions, 0 deletions
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