aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/sudo/sudo.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/sudo/sudo.inc b/config/sudo/sudo.inc
index cfbdddbc..a65753a1 100644
--- a/config/sudo/sudo.inc
+++ b/config/sudo/sudo.inc
@@ -147,6 +147,9 @@ function sudo_get_users($list_all_user = false) {
$users[] = $tmpuser;
foreach ($a_group as $group) {
+ /* The "all" group is internal and doesn't make sense to use here. */
+ if ($group['name'] == "all")
+ continue;
$tmpgroup = array();
$tmpgroup["name"] = "group:{$group['name']}";
$tmpgroup["descr"] = "Group: {$group['name']}";