From 6fa969f20812054df73ca5bf3967754e0d3d7ab9 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Mon, 14 Apr 2025 20:20:07 +0200 Subject: [PATCH] Remove setuid bit from sudo --- recipes/core/userutils/recipe.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/recipes/core/userutils/recipe.toml b/recipes/core/userutils/recipe.toml index ef6c897bd..68c1a88d4 100644 --- a/recipes/core/userutils/recipe.toml +++ b/recipes/core/userutils/recipe.toml @@ -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" """