diff options
author | jim-p <jimp@pfsense.org> | 2013-06-20 15:30:17 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-06-20 15:30:17 -0400 |
commit | eb9c74fee6dda63eca466061cc678ba99e148b79 (patch) | |
tree | eb8cce3fd6cb359d2c82c47e0400c4fe9da410da /config/sudo/sudo.inc | |
parent | 7062f6ea795275371623b46fed3c1686fe6c7ec0 (diff) | |
download | pfsense-packages-eb9c74fee6dda63eca466061cc678ba99e148b79.tar.gz pfsense-packages-eb9c74fee6dda63eca466061cc678ba99e148b79.tar.bz2 pfsense-packages-eb9c74fee6dda63eca466061cc678ba99e148b79.zip |
Skip the internal "all" group.
Diffstat (limited to 'config/sudo/sudo.inc')
-rw-r--r-- | config/sudo/sudo.inc | 3 |
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']}"; |