Remove setuid bit from su

This commit is contained in:
bjorn3 2025-04-20 16:49:16 +02:00
parent 531df3382f
commit e088d5e629

View File

@ -8,5 +8,4 @@ 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/su"
"""