diff options
author | Eric Hameleers <alien@slackware.com> | 2022-02-04 10:06:17 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2022-02-04 10:06:17 +0100 |
commit | e98d3e92b916d91e68c5c9d5e0e4760f13c9170e (patch) | |
tree | ae0b0f99ca033c30e3c798ddb3ac6bdb868c4dd5 /make_slackware_live.sh | |
parent | f0edc4871ab956c332651cd3d9d98ab08f5db1b8 (diff) | |
download | liveslak-e98d3e92b916d91e68c5c9d5e0e4760f13c9170e.tar.gz liveslak-e98d3e92b916d91e68c5c9d5e0e4760f13c9170e.tar.xz |
Deal with a change in sudoers format
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-x | make_slackware_live.sh | 3 |
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: |