From e98d3e92b916d91e68c5c9d5e0e4760f13c9170e Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Fri, 4 Feb 2022 10:06:17 +0100 Subject: Deal with a change in sudoers format --- make_slackware_live.sh | 3 +++ 1 file changed, 3 insertions(+) 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: -- cgit v1.2.3