From e08ca6a9be594383d19f1ab8c526bd8fc4bc4f43 Mon Sep 17 00:00:00 2001 From: Michael Schurter Date: Tue, 22 Nov 2016 11:11:24 -0800 Subject: [PATCH] Mention client level user configs --- website/source/docs/job-specification/task.html.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/website/source/docs/job-specification/task.html.md b/website/source/docs/job-specification/task.html.md index ce7f538575d..2601c038247 100644 --- a/website/source/docs/job-specification/task.html.md +++ b/website/source/docs/job-specification/task.html.md @@ -65,7 +65,9 @@ job "docs" { - `user` `(string: )` - Specifies the user that will run the task. Defaults to `nobody` for the [`exec`][exec] and [`java`][java] drivers. [Docker][] and [rkt][] images specify their own default users. This can only - be set on Linux platforms. + be set on Linux platforms, and clients can restrict + [which drivers][user_drivers] are allowed to run tasks as + [certain users][user_blacklist]. - `vault` ([Vault][]: nil) - Specifies the set of Vault policies required by the task. This overrides any `vault` block set at the `group` or @@ -165,3 +167,5 @@ task "server" { [java]: /docs/drivers/java.html "Nomad Java Driver" [Docker]: /docs/drivers/docker.html "Nomad Docker Driver" [rkt]: /docs/drivers/rkt.html "Nomad rkt Driver" +[user_drivers]: /docs/agent/configuration/client.html#_quot_user_checked_drivers_quot_ +[user_blacklist]: /docs/agent/configuration/client.html#_quot_user_blacklist_quot_