Remove setuid bit from sudo

This commit is contained in:
bjorn3 2025-04-14 20:20:07 +02:00
parent f9cd5a5901
commit 6fa969f208

View File

@ -8,6 +8,5 @@ cookbook_cargo
cp -rv "${COOKBOOK_SOURCE}/res" "${COOKBOOK_STAGE}/etc"
ln -s id "${COOKBOOK_STAGE}/usr/bin/whoami"
chmod +s "${COOKBOOK_STAGE}/usr/bin/passwd"
chmod +s "${COOKBOOK_STAGE}/usr/bin/sudo"
chmod +s "${COOKBOOK_STAGE}/usr/bin/su"
"""