install: violate security further by installing sudoers.d files (although more harmless ones)

This commit is contained in:
Aminda Suomalainen 2025-10-03 11:37:00 +03:00
parent 117c67bf32
commit a35dff2f8b
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -156,6 +156,11 @@ if [ "$(id -u)" == "0" ]; then
mkdir -vp /usr/local/share/applications/ mkdir -vp /usr/local/share/applications/
cp -v local/share/applications/*.desktop /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 # Profile configuration. SECURITY WARNING
cp -v etc/profile.d/*.sh /etc/profile.d/ cp -v etc/profile.d/*.sh /etc/profile.d/
chmod -v a+r /etc/profile.d/*.sh chmod -v a+r /etc/profile.d/*.sh