mirror of
https://github.com/optim-enterprises-bv/secureblue.git
synced 2025-11-02 19:38:10 +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
|
fi
|
||||||
done
|
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
|
systemctl enable setcapsforunsuidbinaries.service
|
||||||
|
|||||||
@@ -82,10 +82,10 @@ screens:
|
|||||||
final-screen:
|
final-screen:
|
||||||
source: yafti.screen.title
|
source: yafti.screen.title
|
||||||
values:
|
values:
|
||||||
title: "All done!"
|
title: "Yafti run complete!"
|
||||||
icon: "/path/to/icon"
|
icon: "/path/to/icon"
|
||||||
links:
|
links:
|
||||||
- "Website":
|
- "POSTINSTALL-README":
|
||||||
run: /usr/bin/xdg-open https://github.com/secureblue/secureblue
|
run: /usr/bin/xdg-open https://github.com/secureblue/secureblue/blob/live/POSTINSTALL-README.md
|
||||||
description: |
|
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