summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmake_slackware_live.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 9bfa1ba..48c964f 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -1876,7 +1876,10 @@ fi
# Configure sudoers:
chmod 640 ${LIVE_ROOTDIR}/etc/sudoers
+# Slackware 14.2:
sed -i ${LIVE_ROOTDIR}/etc/sudoers -e 's/# *\(%wheel\sALL=(ALL)\sALL\)/\1/'
+# Slackware 15.0:
+sed -i ${LIVE_ROOTDIR}/etc/sudoers -e 's/# *\(%wheel\sALL=(ALL:ALL)\sALL\)/\1/'
chmod 440 ${LIVE_ROOTDIR}/etc/sudoers
# Also treat members of the 'wheel' group as admins next to root: