Set to true if the user specified the -\b-i\bi flag,
indicating that the user wishes to run a login shell.
+ max_groups=int
+ The maximum number of groups a user may belong to.
+ This will only be present if there is a corresponding
+ setting in sudo.conf(4).
+
network_addrs=list
A space-separated list of IP network addresses and
netmasks in the form ``addr/netmask'', e.g.
Support for the _\be_\bx_\be_\bc_\b__\bb_\ba_\bc_\bk_\bg_\br_\bo_\bu_\bn_\bd entry has been added to the
command_info list.
+ The _\bm_\ba_\bx_\b__\bg_\br_\bo_\bu_\bp_\bs entry was added to the settings list.
+
The s\bsu\bud\bdo\bo front end now installs default signal handlers to trap
common signals while the plugin functions are run.
flag, indicating that
the user wishes to run a login shell.
.TP 6n
+max_groups=int
+The maximum number of groups a user may belong to.
+This will only be present if there is a corresponding setting in
+sudo.conf(@mansectform@).
+.TP 6n
network_addrs=list
A space-separated list of IP network addresses and netmasks in the
form
list.
.sp
The
+\fImax_groups\fR
+entry was added to the
+\fRsettings\fR
+list.
+.sp
+The
\fBsudo\fR
front end now installs default signal handlers to trap common signals
while the plugin functions are run.
.Fl i
flag, indicating that
the user wishes to run a login shell.
+.It max_groups=int
+The maximum number of groups a user may belong to.
+This will only be present if there is a corresponding setting in
+.Xr sudo.conf @mansectform@ .
.It network_addrs=list
A space-separated list of IP network addresses and netmasks in the
form
list.
.Pp
The
+.Em max_groups
+entry was added to the
+.Li settings
+list.
+.Pp
+The
.Nm sudo
front end now installs default signal handlers to trap common signals
while the plugin functions are run.
{ "closefrom" },
#define ARG_NET_ADDRS 19
{ "network_addrs" },
-#define NUM_SETTINGS 20
+#define ARG_MAX_GROUPS 20
+ { "max_groups" },
+#define NUM_SETTINGS 21
{ NULL }
};
if (debug_flags != NULL)
sudo_settings[ARG_DEBUG_FLAGS].value = debug_flags;
+ /* Set max_groups from sudo.conf. */
+ i = sudo_conf_max_groups();
+ if (i != -1) {
+ easprintf(&cp, "%d", i);
+ sudo_settings[ARG_MAX_GROUPS].value = cp;
+ }
+
/* Returns true if the last option string was "--" */
#define got_end_of_args (optind > 1 && argv[optind - 1][0] == '-' && \
argv[optind - 1][1] == '-' && argv[optind - 1][2] == '\0')