From a35dff2f8be7e1a4c435c015f6a0c02c396a26cd Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Fri, 3 Oct 2025 11:37:00 +0300 Subject: [PATCH] install: violate security further by installing sudoers.d files (although more harmless ones) --- install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install b/install index d997309a..e2ba30ec 100755 --- a/install +++ b/install @@ -156,6 +156,11 @@ if [ "$(id -u)" == "0" ]; then mkdir -vp /usr/local/share/applications/ cp -v local/share/applications/*.desktop /usr/local/share/applications/ + # Additional configuration for sudo SECURITY WARNING DANGER ALARM BELLS! + if [ -d /etc/sudoers.d ]; then + cp -v etc/sudoers.d/{lecture,password-feedback,always-ask-password,envkeep-extras} /etc/sudoers.d/ + fi + # Profile configuration. SECURITY WARNING cp -v etc/profile.d/*.sh /etc/profile.d/ chmod -v a+r /etc/profile.d/*.sh