aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-06-20 15:30:17 -0400
committerjim-p <jimp@pfsense.org>2013-06-20 15:30:17 -0400
commiteb9c74fee6dda63eca466061cc678ba99e148b79 (patch)
treeeb8cce3fd6cb359d2c82c47e0400c4fe9da410da /config
parent7062f6ea795275371623b46fed3c1686fe6c7ec0 (diff)
downloadpfsense-packages-eb9c74fee6dda63eca466061cc678ba99e148b79.tar.gz
pfsense-packages-eb9c74fee6dda63eca466061cc678ba99e148b79.tar.bz2
pfsense-packages-eb9c74fee6dda63eca466061cc678ba99e148b79.zip
Skip the internal "all" group.
Diffstat (limited to 'config')
-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']}";