mirror of
https://github.com/optim-enterprises-bv/secureblue.git
synced 2025-11-01 19:07:52 +00:00
feat: sgid reduction (#392)
* feat: also remove sgid bit * Update yafti.yml * Update yafti.yml
This commit is contained in:
@@ -72,4 +72,13 @@ find /usr -type f -perm /4000 |
|
||||
fi
|
||||
done
|
||||
|
||||
find /usr -type f -perm /2000 |
|
||||
while IFS= read -r binary; do
|
||||
if ! is_in_whitelist "$binary"; then
|
||||
echo "Removing SGID bit from $binary"
|
||||
chmod g-s "$binary"
|
||||
echo "Removed SGID bit from $binary"
|
||||
fi
|
||||
done
|
||||
|
||||
systemctl enable setcapsforunsuidbinaries.service
|
||||
|
||||
@@ -82,10 +82,10 @@ screens:
|
||||
final-screen:
|
||||
source: yafti.screen.title
|
||||
values:
|
||||
title: "All done!"
|
||||
title: "Yafti run complete!"
|
||||
icon: "/path/to/icon"
|
||||
links:
|
||||
- "Website":
|
||||
run: /usr/bin/xdg-open https://github.com/secureblue/secureblue
|
||||
- "POSTINSTALL-README":
|
||||
run: /usr/bin/xdg-open https://github.com/secureblue/secureblue/blob/live/POSTINSTALL-README.md
|
||||
description: |
|
||||
Thanks for trying secureblue, we hope you enjoy it!
|
||||
Complete your secureblue installation by following the POSTINSTALL-README.
|
||||
|
||||
Reference in New Issue
Block a user