From c76965e36f54983f426aff506ab985b67ae2fc6a Mon Sep 17 00:00:00 2001 From: Erik Tate Date: Thu, 19 Sep 2024 13:51:27 -0400 Subject: [PATCH] adding a reference to to the host user guide (#46765) --- .../server-access/guides/host-user-creation.mdx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/pages/enroll-resources/server-access/guides/host-user-creation.mdx b/docs/pages/enroll-resources/server-access/guides/host-user-creation.mdx index e6d2e325d5db3..7e38ca55099f7 100644 --- a/docs/pages/enroll-resources/server-access/guides/host-user-creation.mdx +++ b/docs/pages/enroll-resources/server-access/guides/host-user-creation.mdx @@ -81,6 +81,7 @@ spec: options: # Allow automatic creation of users. create_host_user_mode: keep + create_host_user_default_shell: /bin/bash allow: logins: [ "nginxrestarter" ] # List of host groups the created user will be added to. Any that don't already exist are created. @@ -103,7 +104,9 @@ The `create_host_user_mode` field enables host user creation when the value is the `app:nginx` label, the Teleport SSH Service creates a host user, adds it to the groups listed in `host_groups`, and gives it the sudoer permissions specified in the `host_sudoers` field. In this case, the new user receives -permission to restart the Nginx service as root. +permission to restart the Nginx service as root. The default shell for a created +user can be configured with `create_host_user_default_shell`. Otherwise the +host's default shell will be used. {/*TODO (ptgott): We should move the information below into a reference guide*/}