From 89930873dae27f288809b9df1a474870627d608f Mon Sep 17 00:00:00 2001 From: Mahmood Ali Date: Tue, 4 Jun 2019 14:37:56 -0400 Subject: [PATCH] link to flag from alloc exec doc --- website/source/docs/commands/alloc/exec.html.md.erb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/source/docs/commands/alloc/exec.html.md.erb b/website/source/docs/commands/alloc/exec.html.md.erb index 733bd86d8..30cbfcc07 100644 --- a/website/source/docs/commands/alloc/exec.html.md.erb +++ b/website/source/docs/commands/alloc/exec.html.md.erb @@ -117,3 +117,9 @@ nomad alloc exec -job [...] Choosing a specific allocation is useful for debugging issues with a specific instance of a service. For other operations using the `-job` flag may be more convenient than looking up an allocation ID to use. + +## Disabling remote execution + +`alloc exec` is enabled by default to aid with debugging. Operators can disable the feature by setting [`disable_remote_exec` client config option][disable_remote_exec_flag] on all clients, or a subset of clients that run sensitive workloads. + +[disable_remote_exec_flag]: /docs/configuration/client.html#disable_remote_exec