Add a command line option to specify the command timeout, as long
as sudoers does not specify a shorter time limit.
This commit is contained in:
@@ -453,6 +453,10 @@ struct sudo_defs_types sudo_defs_table[] = {
|
||||
"command_timeout", T_TIMEOUT|T_BOOL,
|
||||
N_("Time in seconds after which the command will be terminated: %u"),
|
||||
NULL,
|
||||
}, {
|
||||
"user_command_timeouts", T_FLAG,
|
||||
N_("Allow the user to specify a timeout on the command line"),
|
||||
NULL,
|
||||
}, {
|
||||
NULL, 0, NULL
|
||||
}
|
||||
|
Reference in New Issue
Block a user