You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "::error::su command escalated to root; policy is broken"
282
+
exit 1
283
+
fi
284
+
285
+
if echo "$SU_OUTPUT" | grep -Eq "not allowed to execute|command not found|a password is required|password is required|authentication is required"; then
278
286
echo "✓ su command is properly blocked"
279
287
else
280
-
echo "::error::su command is not blocked as expected"
0 commit comments