mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-10-05 04:57:21 +02:00
install: violate security further by installing sudoers.d files (although more harmless ones)
This commit is contained in:
parent
117c67bf32
commit
a35dff2f8b
5
install
5
install
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user