From 12718e18bb667298ae28ac10b50e4adc828201f3 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Thu, 7 Dec 2023 09:57:30 -0500 Subject: [PATCH] No longer set "keepenv" in doas.conf --- chrootInstall.sh | 2 +- install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chrootInstall.sh b/chrootInstall.sh index fa68283..01da7fd 100755 --- a/chrootInstall.sh +++ b/chrootInstall.sh @@ -51,7 +51,7 @@ $userpassword " | passwd "$username" # opendoas configuration -echo "permit persist keepenv :wheel as root +echo "permit persist setenv {PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin} :wheel as root permit nopass :wheel as root cmd /usr/local/bin/powerset.sh permit nopass :wheel as root cmd /usr/bin/poweroff permit nopass :wheel as root cmd /usr/bin/reboot diff --git a/install.sh b/install.sh index 54632d6..1ef0c91 100755 --- a/install.sh +++ b/install.sh @@ -3,7 +3,7 @@ loadkeys us echo ---------------------------------------------------------------------------------------------- echo rwinkhart\'s artix install script -echo last updated december 06, 2023 \(rev. A\) +echo last updated december 07, 2023 \(rev. A\) echo ---------------------------------------------------------------------------------------------- echo You will be asked some questions before installation. echo -e "----------------------------------------------------------------------------------------------\n"